News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Adding new token into lexer

Started by byo, October 06, 2005, 11:38:07 PM

Previous topic - Next topic

byo

Hi
wxSmith plugin uses special kind of comments - everything what's between //(* and //*) (including not commented content) is wxSmith's automatically generated code. Is there any way to add support for this inside cpp lexer ?

mandrav

Not with a lexer file. You 'd have to edit the scintilla C++ lexer. It's located in sdk/wxscintilla/src/scintilla/src/LexCPP.cxx. From what I can tell, it would be easy to add support for it...
Be patient!
This bug will be fixed soon...