Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scintilla/Textarea scrollbars not refreshing #68

Open
GWRon opened this issue Jul 11, 2023 · 2 comments
Open

Scintilla/Textarea scrollbars not refreshing #68

GWRon opened this issue Jul 11, 2023 · 2 comments

Comments

@GWRon
Copy link
Contributor

GWRon commented Jul 11, 2023

  • 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

@GWRon
Copy link
Contributor Author

GWRon commented Jul 11, 2023

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

@GWRon
Copy link
Contributor Author

GWRon commented Jul 11, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant