Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line numbers become bogus when scrolling #492

Open
jansol opened this issue Jan 31, 2020 · 1 comment
Open

Line numbers become bogus when scrolling #492

jansol opened this issue Jan 31, 2020 · 1 comment

Comments

@jansol
Copy link
Contributor

jansol commented Jan 31, 2020

Scrolling in a large file seems to reset line numbers to something between 1 and 200 regardless of actual position in the file. Actual line numbers are restored when clicking on a line after scrolling ends.

@HackerWithoutACause
Copy link

Looks like this may be a problem with the Core as when commenting out the line line?.number = lineNumber which is set on var lineNumber = op.ln on line 180 of LineCache.swift removes the issue for me i.e line numbers don't change when saving in large files. I am not the most familiar with the Core so idk if we should push the issue down to them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants