Menu

#941 Scroll bar is not updated on long lines (probably wxScintilla bug)

Undefined
open
nobody
scintilla (3)
Bug_Report
2020-04-04
2020-04-03
bluehazzard
No

As reported in the forum: link

The scroll bar is not updated on file load for long lines. To reproduce:

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...

Discussion

  • bluehazzard

    bluehazzard - 2020-04-03
    • labels: --> scintilla
    • Type: Undefined --> Bug_Report
     
  • Michel Le Bihan

    Michel Le Bihan - 2020-04-03

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.