This is an issue only with the cocoa version of scintilla.
OS: MacOS Catalina 10.15.4
To reproduce the issue I used the ScintillaTest project (I used 446 for testing since I couldn't build ScintillaTest in 500), where I disabled the horizontal scrollbar by inserting the following line in setupEditor:
[mEditor setGeneralProperty: SCI_SETHSCROLLBAR parameter: 0 value: 0];
After that:
You can see that scintilla doesn't draw the contents in the new space that was created after expanding the window.
I'll attach a video that shows the issue.
I was able to get it working with the attached change
It appears to work if the patch is simplified down to
That avoids a call to
mOwner.backend->WillDraw(rect);which is fairly heavy.Committed minimal fix as [2c0fcb].
Related
Commit: [2c0fcb]
Committed minimal fix as [2c0fcb].
Related
Commit: [2c0fcb]