User forums > Help
USER KEYWORDS
jozzzz:
i want add some "User Keywords"...... plz ... :D
thomas:
You can always edit the lexer file. Lexer files are called XXXXX-lexer.xml and are located in the shared/lexers directory. Then click on "Reset defaults" to make the editor reload from disk.
jozzzz:
Thanks Thomas.
How i can edit "User keyword" ?
Keyword i edit if i press "edit keyword", but User keyword is diferent. Is right?
What is User keyword?
Thx Joz
jozzzz:
I need words "public", "protected", "private" they will have diferent color as that "Keyword".
How i can do this?
Exactly:
Keyword = int long case return etc. (blue color)
I want that User keywords will:
private public etc.
:) thx
thomas:
--- Quote from: jozzzz on February 04, 2006, 09:50:31 am ---I need words "public", "protected", "private" they will have diferent color as that "Keyword".
How i can do this?
--- End quote ---
By editing the lexer... since you're apparently interested in C++, that'll be lexer_cpp.xml.
Delete those words from the Language tag, and add them to the User tag. Then click on "Reload defaults" in editor options.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version