User forums > Using Code::Blocks

How can I create a lexer for cpp and wxWidgets


Hi @ll,

i've been trying to install a c++ based lexer which highlights all wxWidgets classes (one colour) and wxWidgets class-functions (second colour). I am only able to use "global classes and typedefs" (index=3) in the existing cpp lexer where I placed all wxWidgets class names. It would also be neccessary to use "keyword" or "user keywords" for a second colour. But these indexes seem to be disabled. How can I enable them? Other ideas are welcome too.

Thanks in advance


[0] Message Index

Go to full version