Page 1 of 1
Scroll Bar Range vs Longest Line
Posted: Thu Sep 08, 2011 7:11 am
by buddymatkona
I just pasted a very long line into a source file and was able to edit the entire line by scrolling right. When I closed and reopened the file however, the scroll bar settings reverted to the usual width so , to edit the line, I had to repeatedly click the arrow control to advance the cursor right. After doing this I expected the scroll bar settings to be reset but no. The only way to reset the scroll bar width was to copy and paste the long line again. Maybe the dynamic width could be included with the source file like some compiler preferences?
Re: Scroll Bar Range vs Longest Line
Posted: Thu Sep 08, 2011 9:52 am
by c4s
I remember freak saying that this is a scintilla issue.
Re: Scroll Bar Range vs Longest Line
Posted: Thu Sep 08, 2011 10:17 am
by buddymatkona
Thanks c4s. I found an old Scintilla bug report that matched my post almost exactly. It was closed without action in Sept 2009.
There was another more serious , directly related effect reported and that is still an open issue for Scintilla:
"The horizontal scroll does not adjust to show the found text when searching for text in a file with very long lines if the horizontal scroll before the search is set far enough to the right before performing the search."
Re: Scroll Bar Range vs Longest Line
Posted: Thu Sep 08, 2011 12:13 pm
by c4s