Description of the Issue
From line 1 to 999 of a file, the space for the Line Number Margin is the same width. When it reaches 1000, the width increases, which causes my text to be shifted slightly. This is very annoying. Imagine scrolling up and down repeatedly near that point and seeing the shift multiple times. I assume that reaching the "10,000" point will cause another resize.
Steps to Reproduce the Issue
- Scroll past line number 999.
- The width of the line number will increase, causing text to shift rightward.
Desired Behavior
- An option called "Constant Line-Number Width".
- If my custom length is "5", the width of the margin will be the same size from line number 1 to 99,999. It won't cause a resize until it reaches line number 100,000.
- The lowest number that people are allowed to choose should not be lower than "3", because Notepad++ already shows lines "1 to 999" without resizing.
If the creators of this program know the absolute limit of the size of a text file that this program can process, then set that as the maximum width that can be chosen.
Example:
If the creators know that current computers cannot open a text file that has 10 million lines, they should set the limit of the "Custom Length" setting to 7, so it can show "9,999,999" lines without the width of the line-number margin resizing.
Putting millions of lines in one file may be ridiculous, even if computers can handle it, but putting 10,000 lines in one program is not too strange, so the "Constant Line-Number Width" should definitely be allowed to be set to "5".