User forums > Using Code::Blocks

All code editor views seem to be fixed width

<< < (3/4) > >>

mimi89999:
It's a known issue: https://sourceforge.net/p/scintilla/bugs/1226/

BlueHazzard:
Ok, i see and i can reproduce this:

1) Create a new file
2) Create a long line within this file (lets say at least 2000 characters...
3) Save the file
4) Close the file
5) Open the file again
6) The scroll bar will not be updated and display a default with. If you use the scroll bar to go to the end of the line it will crop of. You still can use the arrow keys to go to the end.
Also using the end key works...



To circumvent this bug, you can select the line and press the "end" key on the keyboard. This will bring you to the end of the line, and will update the scrollbar...

BlueHazzard:
I made a ticket so it wont get lost:
https://sourceforge.net/p/codeblocks/tickets/941/

mimi89999:
It's actually a feature. It's controlled by the `scroll_width_tracking` setting variable. The setting can be found in settings -> editor configuration -> margins and caret -> scrollbar: Automatically [...]

It's a Scintilla setting. It's explained in: https://www.scintilla.org/ScintillaDoc.html#SCI_SETSCROLLWIDTHTRACKING

I think that the default should be changed to true.

oBFusCATed:
This was discussed recently...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version