Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: ham on August 25, 2011, 01:02:47 am

Title: How to add User Keywords
Post by: ham on August 25, 2011, 01:02:47 am
hi, i like to know how i add user keywords that are differently colored?

In Syntax Highlighter Menu is a Button "Keywords", how do i connect the User Keyword Style with Keywords i like?

thx in advance
Title: Re: How to add User Keywords
Post by: Manolo on August 25, 2011, 07:50:04 pm
Hi
When you click that 'Keywords' button, use 'Set 2'. Scroll down to the alphabetical position of the word you want to add and type it (use space as separator).
Back to the editor, you will see that new word in the same style as any other 'User keyword'.

If you want your own style for your own words, sorry I don't know how to achieve it.

Regards
Manolo
Title: Re: How to add User Keywords
Post by: ham on August 26, 2011, 06:13:44 pm
yeah,

the second set of keywords seem to work with the USER KEYWORD color profile.

thx for that.

but i dont understand where the connection between keyword set and coloring profile can be achived?

why are there 9 keyword sets but no binding to color?