News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Is it possible to Color the distinguish between defined/undefined symbol,var?

Started by zanget, January 05, 2010, 05:47:38 AM

Previous topic - Next topic

zanget

We Usually write some embeded system soft app with some functions/symbols defined in the Library,say .so/ .a,so I just want to Color it out in C::B.I find the is just a "Default" will take an effect on this in the settings,but it just change all the Symbols/functions.
I wonder it is difficult or I can make it by myself.

Any help on this would be appreciated.
Thanks a lot in advance.

blueshake

Keep low and hear the sadness of little dog.
I fall in love with a girl,but I don't dare to tell her.What should I do?

MortenMacFly

Quote from: zanget on January 05, 2010, 05:47:38 AM
Any help on this would be appreciated.
Not sure if I really understand, but you can use the lexer's "user" keyword (settings -> editor -> syntax highlighting (your language) -> keywords... -> set 1..x usually.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

zanget

Quote from: MortenMacFly on January 05, 2010, 07:00:19 AM
Quote from: zanget on January 05, 2010, 05:47:38 AM
Any help on this would be appreciated.
Not sure if I really understand, but you can use the lexer's "user" keyword (settings -> editor -> syntax highlighting (your language) -> keywords... -> set 1..x usually.


I have checked for this:but it just change the "Keyword",such as "int for" etc.not for the var/symbol as i have mentioned before.
Take a look at the attachment.plz.
thanks for you reply.

[attachment deleted by admin]