Author Topic: Is it possible to Color the distinguish between defined/undefined symbol,var?  (Read 6378 times)

Offline zanget

  • Single posting newcomer
  • *
  • Posts: 5
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.

Offline blueshake

  • Regular
  • ***
  • Posts: 459
not support it as far as I know.
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?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline zanget

  • Single posting newcomer
  • *
  • Posts: 5
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]
« Last Edit: January 05, 2010, 07:34:20 am by zanget »

Offline zanget

  • Single posting newcomer
  • *
  • Posts: 5
not support it as far as I know.

Thanks for you reply.