Author Topic: Adding new token into lexer  (Read 5447 times)

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Adding new token into lexer
« on: October 06, 2005, 11:38:07 pm »
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 ?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Adding new token into lexer
« Reply #1 on: October 06, 2005, 11:52:19 pm »
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...