PB 6.03 beta 3 #SCI_SETLEXER constant missing

Just starting out? Need help? Post your questions and find answers here.
novablue
Enthusiast
Enthusiast
Posts: 177
Joined: Sun Nov 27, 2016 6:38 am

PB 6.03 beta 3 #SCI_SETLEXER constant missing

Post by novablue »

#SCI_SETLEXER is missing in the beta build.
I added it back manually and all seems to be working as expected.

Code: Select all

#SCI_SETLEXER = 4001
Fred
Administrator
Administrator
Posts: 18350
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PB 6.03 beta 3 #SCI_SETLEXER constant missing

Post by Fred »

It seems to work because it's not doing anything, you can remove this line as the constant is no more supported by the new scintilla version and has been removed.
User avatar
skywalk
Addict
Addict
Posts: 4241
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PB 6.03 beta 3 #SCI_SETLEXER constant missing

Post by skywalk »

FYI
PB Structure Viewer also has #SCI_SETILEXER = 4033?

I ran across the SCI_SETLEXER error with the v301 GoScintilla library.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
skinkairewalker
Enthusiast
Enthusiast
Posts: 799
Joined: Fri Dec 04, 2015 9:26 pm

Re: PB 6.03 beta 3 #SCI_SETLEXER constant missing

Post by skinkairewalker »

skywalk wrote: Fri Aug 02, 2024 8:21 pm FYI
PB Structure Viewer also has #SCI_SETILEXER = 4033?

I ran across the SCI_SETLEXER error with the v301 GoScintilla library.
same here xD
when trying to run the examples from version v301
the program is crashing....
User avatar
CDXbow
Enthusiast
Enthusiast
Posts: 104
Joined: Mon Aug 12, 2019 5:32 am
Location: Oz

Re: PB 6.03 beta 3 #SCI_SETLEXER constant missing

Post by CDXbow »

I recently had a project give the same error half way through. A cheerful silicon friend has been helping me and while it was struggling to open files in Scintilla it 'did something' and suddenly I had the dreaded Constant not found: #SCI_SETLEXER. I had to put #SCI_SETLEXER = 4001 into an include file, but I can't say it's removal was the cause. Otherwise the GoScintilla v3 versions are working fine for me(win10/64), in fact the project started with one of their folding examples.
User avatar
skinkairewalker
Enthusiast
Enthusiast
Posts: 799
Joined: Fri Dec 04, 2015 9:26 pm

Re: PB 6.03 beta 3 #SCI_SETLEXER constant missing

Post by skinkairewalker »

when testing the example: DemoCallTips1_2_3.pb , I get error on line 304 in the GoScintilla.pbi file

Image
Post Reply