Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Syntax Highlighting
(1/1)
cpp:
Hello,
I'm completely new to C::B and interested in writing some plugins :-)
Is it possible to write a Lexer/Syntax Highlighter in C++ as a plugin?
So eg. I can highlight local variables different from class members and so on. (Like Visual Assist from WholeTomato)
best regards,
Stefan
dje:
Hi!
Lexers are implemented/used by Scintilla, that has been wrapped for wxWidgets into wxScintilla then wrapped into a wxStyledTextCtrl. The C::B cbEditor is based on it.
So I think it would be easier to start from the scintilla C++ lexer than makes a plugin that could not replace C::B editors.
Dje
Navigation
[0] Message Index
Go to full version