How do I change highlighting of C++ preprocessor directives? [message #758631] |
Thu, 24 November 2011 00:31 |
Arman Messages: 15 Registered: November 2011 |
Junior Member |
|
|
Ok so suppose I have this:
#define MYDIRECTIVE
#ifdef MYDIRECTIVE
bool myswitch = 1;
#else
bool myswitch = 0;
Eclipse will go ahead and white out the bottom half of that if statement (because MYDIRECTIVE is defined), which is fine, but I'd like to change the color of that highlighting. I initially thought to look here: Windows->Preferences->C/C++->Editor->Syntax Coloring->Preprocessor
However, all I find there is how to change the coloring of the preprocessor text, not the highlighting. Any ideas? I'm using Eclipse 3.7.0 with the eclipse color theme plugin v0.11.0, running on ubuntu.
[Updated on: Fri, 25 November 2011 04:37] Report message to a moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08785 seconds