Page 1 of 1

PB 6.03 beta 3 #SCI_SETLEXER constant missing

Posted: Wed Jul 19, 2023 7:12 pm
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

Re: PB 6.03 beta 3 #SCI_SETLEXER constant missing

Posted: Wed Aug 09, 2023 5:35 pm
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.

Re: PB 6.03 beta 3 #SCI_SETLEXER constant missing

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

I ran across the SCI_SETLEXER error with the v301 GoScintilla library.

Re: PB 6.03 beta 3 #SCI_SETLEXER constant missing

Posted: Mon Feb 24, 2025 4:10 am
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....

Re: PB 6.03 beta 3 #SCI_SETLEXER constant missing

Posted: Mon Feb 24, 2025 8:31 am
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.

Re: PB 6.03 beta 3 #SCI_SETLEXER constant missing

Posted: Mon Feb 24, 2025 7:34 pm
by skinkairewalker
when testing the example: DemoCallTips1_2_3.pb , I get error on line 304 in the GoScintilla.pbi file

Image