It is currently Mon Jul 06, 2020 7:04 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: ScintillaGadget macOS Version >= v10.14
PostPosted: Sat Apr 25, 2020 6:15 pm 
Online
Addict
Addict
User avatar

Joined: Fri May 12, 2006 6:51 pm
Posts: 2539
Location: Germany
Moved...

Shardik wrote:
Fred wrote:
The left shift is a weird behavior when compiler on OS X > 10.10 (I don't know why)

The weird shift behaviour only occurs when compiling the PB 5.72 IDE from GitHub on MacOS 10.14 'Mojave' or 10.15 'Catalina':

Image

When compiling the PB 5.72 IDE on MacOS 10.9 'Mavericks' to MacOS 10.13 'High Sierra' this bug does not occur!



I have found this information

Link: https://sourceforge.net/p/scintilla/bug ... rolling%22

_________________
My Projects ThreadToGUI / OOP-BaseClass / OOP-BaseClassDispatch / EventDesigner V3
PB v3.30 / v5.70 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace


Top
 Profile  
Reply with quote  
 Post subject: Re: ScintillaGadget macOS Version >= v10.14
PostPosted: Sat Apr 25, 2020 8:52 pm 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 14065
Location: France
Nice finding, I will take a look to integrate it (but as I compile on OS X 10.10, I don't know if it will work at all).


Top
 Profile  
Reply with quote  
 Post subject: Re: ScintillaGadget macOS Version >= v10.14
PostPosted: Sun Jun 28, 2020 3:49 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Dec 23, 2003 3:54 am
Posts: 1830
I've finally updated my MacOS and PureBasic and now I'm having this issue too :(

Any update on a fix?
OR
Can any Cocoa expert figure out a workaround, based on this Scintilla fix patch?
https://sourceforge.net/p/scintilla/cod ... 3140cb786/

_________________
On GitHub: PB Includes - IDE Tools - Color Themes - IDE Branches - TabBarGadget Mods


Top
 Profile  
Reply with quote  
 Post subject: Re: ScintillaGadget macOS Version >= v10.14
PostPosted: Wed Jul 01, 2020 7:26 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Dec 23, 2003 3:54 am
Posts: 1830
I would pay a little $ for a workaround, Cocoa experts... :mrgreen:

_________________
On GitHub: PB Includes - IDE Tools - Color Themes - IDE Branches - TabBarGadget Mods


Top
 Profile  
Reply with quote  
 Post subject: Re: ScintillaGadget macOS Version >= v10.14
PostPosted: Wed Jul 01, 2020 8:00 pm 
Online
Addict
Addict
User avatar

Joined: Fri May 12, 2006 6:51 pm
Posts: 2539
Location: Germany
The problem is that Fred has to adjust them when creating the ScintillaGadget.
Unfortunately it does not work with CocoaMessage afterwards. I already tried that.

_________________
My Projects ThreadToGUI / OOP-BaseClass / OOP-BaseClassDispatch / EventDesigner V3
PB v3.30 / v5.70 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace


Top
 Profile  
Reply with quote  
 Post subject: Re: ScintillaGadget macOS Version >= v10.14
PostPosted: Wed Jul 01, 2020 8:19 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Dec 23, 2003 3:54 am
Posts: 1830
I see. I don't know Cocoa well, but I'm always impressed with what people can do with CocoaMessage() at runtime :)

_________________
On GitHub: PB Includes - IDE Tools - Color Themes - IDE Branches - TabBarGadget Mods


Top
 Profile  
Reply with quote  
 Post subject: Re: ScintillaGadget macOS Version >= v10.14
PostPosted: Wed Jul 01, 2020 9:31 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Apr 21, 2005 2:38 pm
Posts: 1734
Location: Germany
mk-soft wrote:
Unfortunately it does not work with CocoaMessage afterwards. I already tried that.

Same with me. Currently I would assume that Fred or freak have to implement at least Scintilla release 3-7-3 in oder to solve that problem.

It was a tough problem: you may take a look into this problem solving thread on Google groups.

They even got support from Apple Developer Technical Support twice although that didn't result in a solution. In ScintillaView.mm (Scintilla release 4-1-3, search for "10_14" twice) the final patch was applied...


Last edited by Shardik on Thu Jul 02, 2020 10:05 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: ScintillaGadget macOS Version >= v10.14
PostPosted: Wed Jul 01, 2020 9:54 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Dec 23, 2003 3:54 am
Posts: 1830
What a pain... it took 6 months for some smart people to workaround Apple's change...

And I know that PureBasic is slow to update Scintilla versions because it breaks other backwards compatibilities... :(

_________________
On GitHub: PB Includes - IDE Tools - Color Themes - IDE Branches - TabBarGadget Mods


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye