Re: Why renaming a lexer and putting new keyworks does not work in TA?

From: mitchell <>
Date: Mon, 22 Feb 2010 06:58:04 -0800 (PST)


> How do you start in creating a lexer?  As you probably know in my
> posting that I am trying to create a new lexer  i.e. glpk.lua. I am
> not successful in loading it in TA. No syntax lighting, code flooding.

> I need clarifications why renaming a current lexer e.g. cpp.lua into
> glpk.lua and replacing the keywords of cpp into glpk keywords does not
> work.

You have to edit the lexer name in LoadTokens() and LoadStyles() (if


> Again, how create a proper new lexer? I have been searching on how to
> create a new lexer. Codelite has this.
> Any similar instruction to the above for TA?
> Thanks, Noli
Received on Mon 22 Feb 2010 - 09:58:04 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:39:30 EST