Author Topic: How can I create a lexer for cpp and wxWidgets  (Read 2799 times)

FrankR59

  • Guest
How can I create a lexer for cpp and wxWidgets
« on: April 09, 2023, 09:22:47 am »
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
Frank