Page 1 of 1
Scintilla scrollbar
Posted: Mon Nov 10, 2025 1:52 am
by rndrei
Why the text goes beyond the scrollbar (MacOS 26.1 A64) (PureBasic 6.21, 6.30 Beta 4)?
Code: Select all
Procedure MyLexerInit()
ScintillaSendMessage(0, #SCI_STYLESETFONT, #STYLE_DEFAULT, @"Arial")
ScintillaSendMessage(0, #SCI_STYLESETSIZE, #STYLE_DEFAULT, 20)
ScintillaSendMessage(0, #SCI_STYLECLEARALL)
ScintillaSendMessage(0, #SCI_SETCARETLINEBACK, RGB(250, 0, 0))
ScintillaSendMessage(0, #SCI_SETCARETLINEVISIBLE, #True)
EndProcedure
If OpenWindow(0, 450, 200, 402, 402, "Scintilla Example", #PB_Window_SystemMenu |#PB_Window_ScreenCentered)
ScintillaGadget(0, 2, 2, 398, 398, #Null)
MyLexerInit()
Repeat
Event = WaitWindowEvent()
Until Event = #PB_Event_CloseWindow
EndIf
Re: Scintilla scrollbar
Posted: Mon Nov 10, 2025 10:39 am
by Shardik
I can't reproduce that behaviour on my iMac 2019 with Intel processor on MacOS 15.7.1 'Sequoia' and PB 6.30 Beta 4.
Re: Scintilla scrollbar
Posted: Tue Nov 11, 2025 12:31 am
by Mindphazer
Can't reproduce either.
MacBook Pro M4, MacOS 26.1 and PB 6.21
Re: Scintilla scrollbar
Posted: Tue Nov 11, 2025 12:57 am
by rndrei
Do you mean you can't reproduce? ? Does it give an error?
Re: Scintilla scrollbar
Posted: Tue Nov 11, 2025 4:57 am
by Piero
Seems to happen only when Show scroll bars (system settings) is NOT set to "always" (Sequoia)
Don't they disappear when you stop scrolling? If so, it's no bug
Re: Scintilla scrollbar
Posted: Tue Nov 11, 2025 5:38 am
by rndrei
Piero wrote: Tue Nov 11, 2025 4:57 am
Seems to happen only when Show scroll bars (system settings) is NOT set to "always" (Sequoia)
Don't they disappear when you stop scrolling? If so, it's no bug
And how to make the scroll bars disappear?
Re: Scintilla scrollbar
Posted: Tue Nov 11, 2025 9:51 am
by Piero
rndrei wrote: Tue Nov 11, 2025 5:38 amAnd how to make the scroll bars disappear?
search for "scroll bar" in system settings (Sequoia here)
Re: Scintilla scrollbar
Posted: Tue Nov 11, 2025 12:14 pm
by rndrei
Did, it doesn't work, the same goes for text abroad! (Sloop on the scroll bar)
It's probably a bug?! Move the topic to macOS bugs.
Re: Scintilla scrollbar
Posted: Tue Nov 11, 2025 1:51 pm
by mrbungle
Which macOS are you using? The output looked normal on macOS Sequoia. Tahoe is a crapshoot.
Re: Scintilla scrollbar
Posted: Tue Nov 11, 2025 2:38 pm
by rndrei
mrbungle wrote: Tue Nov 11, 2025 1:51 pm
Which macOS are you using? The output looked normal on macOS Sequoia. Tahoe is a crapshoot.

I haveTahoe! Why crapshoot?
Re: Scintilla scrollbar
Posted: Tue Nov 11, 2025 7:32 pm
by mrbungle
Because Tahoe has been a bit glitchy. A lot of UI controls have changed, including button bezels and sizes. It is Apple's Vista.
Re: Scintilla scrollbar
Posted: Thu Nov 20, 2025 3:05 pm
by rndrei
Maybe in version 6.30 Purebasic will update scintilla, and in Tahoe it will work fine?!
Re: Scintilla scrollbar
Posted: Thu Nov 20, 2025 7:28 pm
by mk-soft
If you have a PB license, you can already test the PB v6.20 beta
Re: Scintilla scrollbar
Posted: Thu Nov 20, 2025 7:42 pm
by rndrei
I'm testing Purebasic 6.30 now, but at 6.21 it's the same problem! Maybe transfer the topic to bugs or to future developments?
Re: Scintilla scrollbar
Posted: Thu Nov 20, 2025 10:16 pm
by Piero