This has probably been mentioned before, but it is a problem I keep running into while coding.
How to reproduce it:
Open a document that has at least one line that is very very long horizontally, and causes the horizontal scroll bar to be tiny. Now close that document, and open one that is barely wider than the screen. Now the horizontal scroll bar will be tiny and super sensitive when it does not need to be.
The only fix that I know of it to close Notepad++ and reopen it.
This is one of my favorite programs! If only it had ftp support, I could use it at work!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I figured out a way (not neccessarily the best) to quickly resize the scrollbar depending only on the text that is currently visible (ie the visible lines). When you type or scroll, afterwards the scrollbar will change to what will be visible. It seems alot faster than looping through the entire file and getting the maximum length when the files get large (Notepad_plus.cpp for example ;). It now behaves like Visual Studio.
Don, do you think its worthwhile if I would upload a patch or something so you can integrate it? It's small if it goes in directly but requires more effort if you make it a setting.
Or atleast fix the current implementation where you use the letter 'P', it seems to fail with stylers and zooming ;)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The Scintilla component doesn't adjust the its width automatically, so it's Notepad++'s responsibility to do it.
Due to the performance issue, the algo to adjust Scintilla width will be applied once for each opened file.
Don
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, I actually did mind the performance and it didnt degrade (now my PC isnt the slowest so it might get more noticable on really slow computers, like the 486SX :P), I found it to improve the loading times considerably when you have multiple large files open. That and its way more accurate.
I ask you to atleast fix the bug where a long scrollbar with a small scrollbox wraps around when dragging, I put it online as a patch for you, very easily implemented.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This has probably been mentioned before, but it is a problem I keep running into while coding.
How to reproduce it:
Open a document that has at least one line that is very very long horizontally, and causes the horizontal scroll bar to be tiny. Now close that document, and open one that is barely wider than the screen. Now the horizontal scroll bar will be tiny and super sensitive when it does not need to be.
The only fix that I know of it to close Notepad++ and reopen it.
This is one of my favorite programs! If only it had ftp support, I could use it at work!
>If only it had ftp support, I could use it at work!
It has?
http://sourceforge.net/project/showfiles.php?group_id=189927&package_id=245189
I figured out a way (not neccessarily the best) to quickly resize the scrollbar depending only on the text that is currently visible (ie the visible lines). When you type or scroll, afterwards the scrollbar will change to what will be visible. It seems alot faster than looping through the entire file and getting the maximum length when the files get large (Notepad_plus.cpp for example ;). It now behaves like Visual Studio.
Don, do you think its worthwhile if I would upload a patch or something so you can integrate it? It's small if it goes in directly but requires more effort if you make it a setting.
Or atleast fix the current implementation where you use the letter 'P', it seems to fail with stylers and zooming ;)
The Scintilla component doesn't adjust the its width automatically, so it's Notepad++'s responsibility to do it.
Due to the performance issue, the algo to adjust Scintilla width will be applied once for each opened file.
Don
Well, I actually did mind the performance and it didnt degrade (now my PC isnt the slowest so it might get more noticable on really slow computers, like the 486SX :P), I found it to improve the loading times considerably when you have multiple large files open. That and its way more accurate.
I ask you to atleast fix the bug where a long scrollbar with a small scrollbox wraps around when dragging, I put it online as a patch for you, very easily implemented.
I saw your patches in Patch tracker, and I'll consider it.
Don
I want this feature alot!!
I think you better send a email to contact Don.