Colors and Fonts, Lexer Keyword sets

General questions regarding the usage of CodeLite
Yaakuro
CodeLite Enthusiast
Posts: 30
Joined: Sat Oct 04, 2008 4:06 am
Contact:

Colors and Fonts, Lexer Keyword sets

Post by Yaakuro » Fri Mar 22, 2019 4:42 pm

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

User avatar
eranif
CodeLite Plugin
Posts: 5925
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Colors and Fonts, Lexer Keyword sets

Post by eranif » Fri Mar 22, 2019 6:55 pm

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.
Make sure you have read the HOW TO POST thread

Yaakuro
CodeLite Enthusiast
Posts: 30
Joined: Sat Oct 04, 2008 4:06 am
Contact:

Re: Colors and Fonts, Lexer Keyword sets

Post by Yaakuro » Fri Mar 22, 2019 8:58 pm

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

Post Reply