Bug #17155 2010-05-14 07:32

raynebc

Horizontal scroll bar won't scroll to end of line

On a sufficiently-long line of source code (several hundred characters long), the horizontal scroll bar at the bottom of the code editor window won't scroll right to the extreme end of the line. Using the End or right arrow keys allows the cursor to seek to the end, at which point CodeBlocks updates the scroll bar to be able to seek to both ends of the line of code.

Category
Application::Editor
Group
 
Status
Closed
Close date
2010-05-26 13:50
Assigned to
jenslody
athar 2010-05-15 06:12

The scrollbar doesn't seem to go farther than column 256.

However, this is probably intentional.

Otherwise, the scrollbar would get rather sensitive when there are very long lines in the current document (I have a line of >10,000 chars in one source file, for example). That wouldn't be desirable, as most other lines can be assumed to be much shorter.

raynebc 2010-05-15 08:06

Perhaps the scroll bar can update based on the length of the line it's currently on? That would bypass having a scrollbar having the same sensitivity on short lines as on abnormally-long lines.

jenslody 2010-05-26 13:32

Which version of C::B do you use ?

The nightlies have an option in "Settings -> Editor -> Margins and caret -> Scrollbar" to determine the length of the horizontal scrollbar.

raynebc 2010-05-26 13:42

Release 8.02.

It's good to know that feature will be out, but I don't need it enough to drop from the stable release. Thanks for the information.

jenslody 2010-05-26 13:50

The next release will come soon.

I close this bug.