Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Adding new token into lexer

(1/1)

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...

Navigation

[0] Message Index

Go to full version