Scintilla scrollbar

Mac OSX specific forum
User avatar
rndrei
Enthusiast
Enthusiast
Posts: 203
Joined: Thu Dec 28, 2023 9:04 pm

Scintilla scrollbar

Post by rndrei »

Why the text goes beyond the scrollbar (MacOS 26.1 A64) (PureBasic 6.21, 6.30 Beta 4)?

Image

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
User avatar
Shardik
Addict
Addict
Posts: 2074
Joined: Thu Apr 21, 2005 2:38 pm
Location: Germany

Re: Scintilla scrollbar

Post 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.
Collection of cross-platform examples with API functions to extend PureBasic
User avatar
Mindphazer
Enthusiast
Enthusiast
Posts: 506
Joined: Mon Sep 10, 2012 10:41 am
Location: Savoie

Re: Scintilla scrollbar

Post by Mindphazer »

Can't reproduce either.
MacBook Pro M4, MacOS 26.1 and PB 6.21
MacBook Pro 16" M4 Pro - 24 Gb - MacOS 26.1 - Iphone 17 Pro Max - iPad at home
...and unfortunately... Windows at work...
User avatar
rndrei
Enthusiast
Enthusiast
Posts: 203
Joined: Thu Dec 28, 2023 9:04 pm

Re: Scintilla scrollbar

Post by rndrei »

Do you mean you can't reproduce? ? Does it give an error?
User avatar
Piero
Addict
Addict
Posts: 1102
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: Scintilla scrollbar

Post 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
User avatar
rndrei
Enthusiast
Enthusiast
Posts: 203
Joined: Thu Dec 28, 2023 9:04 pm

Re: Scintilla scrollbar

Post 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?
User avatar
Piero
Addict
Addict
Posts: 1102
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: Scintilla scrollbar

Post 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)
User avatar
rndrei
Enthusiast
Enthusiast
Posts: 203
Joined: Thu Dec 28, 2023 9:04 pm

Re: Scintilla scrollbar

Post 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.
mrbungle
Enthusiast
Enthusiast
Posts: 173
Joined: Wed Dec 30, 2020 3:18 am

Re: Scintilla scrollbar

Post by mrbungle »

Which macOS are you using? The output looked normal on macOS Sequoia. Tahoe is a crapshoot.
User avatar
rndrei
Enthusiast
Enthusiast
Posts: 203
Joined: Thu Dec 28, 2023 9:04 pm

Re: Scintilla scrollbar

Post 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.
:D I haveTahoe! Why crapshoot?
mrbungle
Enthusiast
Enthusiast
Posts: 173
Joined: Wed Dec 30, 2020 3:18 am

Re: Scintilla scrollbar

Post 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.
User avatar
rndrei
Enthusiast
Enthusiast
Posts: 203
Joined: Thu Dec 28, 2023 9:04 pm

Re: Scintilla scrollbar

Post by rndrei »

Maybe in version 6.30 Purebasic will update scintilla, and in Tahoe it will work fine?!
User avatar
mk-soft
Always Here
Always Here
Posts: 6388
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Scintilla scrollbar

Post by mk-soft »

If you have a PB license, you can already test the PB v6.20 beta
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
rndrei
Enthusiast
Enthusiast
Posts: 203
Joined: Thu Dec 28, 2023 9:04 pm

Re: Scintilla scrollbar

Post 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?
User avatar
Piero
Addict
Addict
Posts: 1102
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: Scintilla scrollbar

Post by Piero »

Image
Post Reply