Page 1 of 1

Colors and Fonts, Lexer Keyword sets

Posted: Fri Mar 22, 2019 4:42 pm
by Yaakuro
Hi Eranif,

In the Colours and Fonts dialog there is the part with the 5 sets buttons. For the c++ parts 3 sets are used. I like to understand how those are used. Is it for example possible to add to set 3 a new keyboard a give a color?

Yaakuro

Re: Colors and Fonts, Lexer Keyword sets

Posted: Fri Mar 22, 2019 6:55 pm
by eranif
You can add words into these keywords. Note that the empty ones are used for classes and local variables colouring and is used by CodeLite internally.
Each set of words will have the different colours.

Re: Colors and Fonts, Lexer Keyword sets

Posted: Fri Mar 22, 2019 8:58 pm
by Yaakuro
Set1 is used for the C++ keywords right? So when I do put some new keys I see them colored as c++ keywords. What about Set2 and Set3? I am not sure how those sets are related to the colors for those different tags.
What I thought was, I am using CodeLite a lot with UE4 and it is using its own Macros like UCLASS, UPROPERTY etc. . It would be nice to assign those kind of custom keys another color then the one used in Set1. Is that possible?

Yaakuro