bmx-ng / maxgui.mod

BlitzMax MaxGUI modules port.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scintilla/Textarea scrollbars not refreshing

GWRon opened this issue · comments

  • Open MaxIDE
  • Have a file not containing much content - so scrollbars are not needed
  • Scrollbars are visible but correctly calculated to "no scrolling doable" (better would be to hide them ...)
  • Now open a big file needing scrollbars
  • Scrollbars are NOT correctly updated
  • resize window (works for me, other users report it does not fix) or move the splitter (something leading to a textarea resize)

Peek 2023-07-11 17-57

When disabling the Import MaxGUI.maxguitextareascintilla in maxide, scintilla is NOT used but the slow original textarea - this one does NOT have the scrollbar issue (and also contains these "auto hide" or "hover" scrollbars the other widgets have.

So most probably this is something with the scintilla widget (eg requiring more events to listen / react).

the scintilla module is using scintilla 3.10.x while currently scintilla 5.x is available.

If somebody plans to upgrade scintilla: the lexer part is rewritten there and now outsourced lexing language support to "lexilla".
Upgrades to newer scintilla releases should fix issues underscores and accents on certain distros (eg. underscores not visible because of "cut off" based on wrong line heights).