Code::Blocks Forums

User forums => Help => Topic started by: moloh on May 13, 2006, 03:03:06 am

Title: Lexer
Post by: moloh on May 13, 2006, 03:03:06 am
Hello!
Next annoying question. I want to modify C/C++ lexer. How can i add user keywords?
Should i modify globallexer xml files?
If this is possible to have lexer files in home directory as i don't want to modify global files managed by Portage?
Title: Re: Lexer
Post by: thomas on May 13, 2006, 12:58:21 pm
You can modify the lexer file, but it is also possible to add keywords from the editor settings dialog.

The former is kind of "permanent" insofar as it will be the default, the latter is saved in your config file, i.e. it depends on the current user.

Either works.