Writing a new lexer is not that difficult as it first sounds to be. You need
to be well acquinted with the language you kept in mind, especially the set
of keywords to be highlighted and structuring blocks to be fold. Then clone
the lexer code for one of the language and make your own changes , pay
particular attentions to the functions ColourizeXXXDoc and FoldXXXDoc to
reflect your language's particular feature (where XXX is to be changed to
the name of your language). I found that the SciTE document SciTELexer.html
is a very quick and detailed instruction for doing all this. Believe or not,
as one who never studied C++ systematically but with some experience in
building  programs under linux, I was able to produce a new lexer for the
graphics drawing language Asymptote in less an hour.  So please be
encouraged to try it!
-- 
View this message in context: 
http://www.nabble.com/how-to-make-a-properties-file-for-my-own-.-tf3840599.html#a11005837
Sent from the SciTE mailing list archive at Nabble.com.

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to