| Add these lines to the end of OnInit() of the wxscintilla.bmx example (In the sample folder) at line 200'ish, after SetBufferedDraw(1).
 Then you should get some colors when you build/run..
 
 
 
'Lexer set to BlitzMax
SetLexerLanguage("blitzmax")
'Tell the lexer what keywords we want to highlight, remember ALWAYS lowercase..
SetKeyWords(0, "function method type end endtype endmethod endfunction")
'LexerKeywords we want Blue
StyleSetForeGround(wxSCI_B_KEYWORD, New wxColour.CreateNamedColour("BLUE"))
'The lexer dont understand single line BMax comments :(
'Not Rem/EndRem either...
'StyleSetForeGround(wxSCI_B_COMMENT, New wxColour.CreateNamedColour("RED"))
'Strings we want to be Green
StyleSetForeGround(wxSCI_B_STRING, New wxColour.CreateNamedColour("GREEN"))
 Oh. And if you want case correction you have to do it on your own. Scintilla doesn't do/handle that kind of things..
 
 
 |