instanton:
Now I have coded a new version of the folding lexer. In the new version
ParseMetapostWord is only executed in one of the following 4 cases: 1) at
file beginning (mostly for parsing "beginfig"); 2) after \r or \n; 3)after
an empty char ' '; 4) after '(' or '$' (mostly for "btex ... etex"
structure). Moreover, all built-in folding marks like beginfig ... endfig,
btex ... etex are now moved to keywordlists in order that users can take
full control of the folding. I attach the new Lexer code as an attachment.
OK, committed.
Neil
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest