User forums > Using Code::Blocks
C::B editor text alteration depending on preproc. definition command
(1/1)
littlegene:
Sorry for this easy question.
But could C::B change C++ text style depending on #define(s) currently established?
If no, whether this ability appear soon
MortenMacFly:
--- Quote from: littlegene on February 24, 2012, 12:47:29 pm ---But could C::B change C++ text style depending on #define(s) currently established?
If no, whether this ability appear soon
--- End quote ---
Yes, but you'll need a nightly of C::B. Then you'll find the option in the editor preferences.
littlegene:
Yea! I found it: "Interpret #if, #else, #endif to grey out inactive preprocessor-code"
After turning it on, three is the decoloration of all the language tokens, but the colour of the inactive code itself is the same as the active code. So no "grey out" at all (
Anyway thanks , ;o))
Navigation
[0] Message Index
Go to full version