 codebase
Member
|
I plan to use PN2 for my own language. But how can i define easier custom highligter.
At the moment i use Scintilla VB-Lexer that highlight keywords, strings (double quote), comments (single quote). I have luck that VB have same symbols for strings and comments 
this work fine – but my preprocessor-symbol is “?” – and i like to highlight this line also. but how? (without writing new lexer)
|
 simon
Key Master
|
You could use the schemedef stuff, see other recent threads on this forum for examples. You could change a comment type to be a processor type by matching “?” as the comment-start character. Not sure how that would interact with strings, but might be worth a try.
|
 codebase
Member
|
where can i find more informations about schemedef? or some samples.
|