Changing syntax highlighting in runtime.

Topics: Developer Forum
Jan 17, 2015 at 11:50 AM
Edited Jan 17, 2015 at 11:51 AM
Hello all,
I am writing an app for editing PAWN language.

I want to make all functions which is written by the user to be highlighted by a color.
Sooo, How do I add a word to the text highlighting on runtime without a need for XML file.

Thanks in advance.
Developer
Jan 17, 2015 at 8:59 PM
You should be able to modify the keyword lists at runtime, though some lexers may handle it better than others.
Jan 20, 2015 at 8:26 AM