Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
Developer forums (C::B DEVELOPMENT STRICTLY!)
»
Development
»
Adding new token into lexer
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Adding new token into lexer (Read 4767 times)
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 ?
Logged
mandrav
Project Leader
Administrator
Lives here!
Posts: 4315
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...
Logged
Be patient!
This bug will be fixed soon...
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
Developer forums (C::B DEVELOPMENT STRICTLY!)
»
Development
»
Adding new token into lexer