WxScintilla BlitzMax lexer

BlitzMax Forums/Brucey's Modules/WxScintilla BlitzMax lexer

Derron(Posted 2013) [#1]
I just saw you added the proposal of UNZ for REM-Folding.

What about having other parts foldable too?



So in short: all "loops" should be collapseable.

I know this code (from the old blitz-lexer-file extended by some keywords) has a small flaw: the "singleLineIf"-check is not done properly as it ignores ".."-concat lines (if bla .. \n then)



Another thing for potential extension: more keywords:


Just an example how i broke up my keywords:



in the function Colourise I currently have:

Which should be enough to make it really configurable.


In scintilla/include/SciLexer.h some lines will have to get added:


in scintilla/include/Scintilla.lFace add:




Above is just a suggestion. Like already mentioned in the response to UNZ's editor this MIGHT add clutter as it adds more options. But this is just the case if one uses this entries. More options is always better (think this is the premise of Brucey).

bye
Ron