Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: tw3tye on June 25, 2012, 10:20:00 pm

Title: code::block variables color questions
Post by: tw3tye on June 25, 2012, 10:20:00 pm
Hello.
I will get straight to the point.
As the code::block marks "int" "char" "short"... with blue color.
Can i add my own stuff to make it blue
example:
__int8, int_64 can i make those blue somehow?
or lets say when i type "Hero" can it be showed in blue, or i shouldn't mess with syntax check thing.
Title: Re: code::block variables color questions
Post by: renega_666 on June 25, 2012, 11:39:32 pm
Yes you can.

Under settings->editor->syntax hilighting -> click on the keywords button. There you will see different sets of keywords. If I remember well, user keywords must be put inside the 2nd set (can someone confirm this?)
Title: Re: code::block variables color questions
Post by: tw3tye on June 26, 2012, 07:25:10 pm
Yes you can.

Under settings->editor->syntax hilighting -> click on the keywords button. There you will see different sets of keywords. If I remember well, user keywords must be put inside the 2nd set (can someone confirm this?)
Oh when i put in 1st set i got crashed twice, works when i put it in 2nd set.
Great thank you. it will help me