Page 1 of 1

Scintilla with lexers

Posted: Mon Sep 21, 2015 2:27 am
by deseven
As you may know, the static PB version of Scintilla doesn't support lexers.
On Windows you can just download the dll from the official site and you're good to go.
But on Linux and Mac it's linked statically and it looks like it still lacks lexers support.

Simple way to check it:

Code: Select all

InitScintilla()
OpenWindow(0,200,200,200,200,"lexers test",#PB_Window_SystemMenu)
ScintillaGadget(0,0,0,200,200,0)
oldLexer.i = ScintillaSendMessage(0,#SCI_GETLEXER)
ScintillaSendMessage(0,#SCI_SETLEXER,#SCLEX_HTML)
newLexer.i = ScintillaSendMessage(0,#SCI_GETLEXER)
If oldLexer <> newLexer
  Debug "lexers are supported"
Else
  Debug "lexers are not supported"
EndIf
Anyone can advice anything?

Re: Scintilla with lexers

Posted: Wed Oct 21, 2015 6:36 pm
by deseven
Anyone?