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

Change in number of digits of largest relative line number in file makes display jump left to right #11

Open
saulrh opened this issue Sep 15, 2014 · 1 comment

Comments

@saulrh
Copy link

saulrh commented Sep 15, 2014

The width of the relative line number column is dependent on the largest relative line number in the file: if the maximum relative line number is 95, then the column will be three-ish characters wide; if the maximum relative line number is 105, then the column will be four-ish characters wide. If the user scrolls so that the maximum relative line number crosses a power of ten, the maximum relative line number gains or loses a digit, the column changes width, and the entire source file jumps to the side by one character. This is rather disturbing visually.

@saulrh
Copy link
Author

saulrh commented Sep 15, 2014

According to his commit messages, ivarboms has fixed this in his fork. Can we get that pulled in?

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

Successfully merging a pull request may close this issue.

1 participant