Scroll Bar Range vs Longest Line

Working on new editor enhancements?
buddymatkona
Enthusiast
Enthusiast
Posts: 252
Joined: Mon Aug 16, 2010 4:29 am

Scroll Bar Range vs Longest Line

Post 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?
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: Scroll Bar Range vs Longest Line

Post by c4s »

I remember freak saying that this is a scintilla issue.
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
buddymatkona
Enthusiast
Enthusiast
Posts: 252
Joined: Mon Aug 16, 2010 4:29 am

Re: Scroll Bar Range vs Longest Line

Post 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."
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: Scroll Bar Range vs Longest Line

Post by c4s »

Here is the post I was refering to:
http://www.purebasic.fr/english/viewtop ... =4&t=46421
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Post Reply