[Qt-creator] #ifdef areas always grey
Lucian Smith
lpsmith at spod-central.org
Wed Jul 22 22:22:15 CEST 2009
(I'm using the provided 1.2.1 binaries for linux)
I have a user-defined flag that I'm currently setting in the myproject.pro
file, with a line like:
DEFINES += MYFLAG
The problem is that in the code, wherever I have:
#ifdef MYFLAG
[code]
#endif
All the '[code]' section is grey-on-white. This is less than ideal for
editing, and I've taken to commenting out the first #ifdef while editing,
then trying to remember to uncomment it again before checking in the code.
Is there a recommended solution for this for now, and can the general
situation be fixed for the future? Thanks!
-Lucian Smith
More information about the Qt-creator-old
mailing list