I support this reaction. I rather prefer showing all coding in normal
colour that the current situation.
Better is ofcourse to interpret the value of the MYFLAG and change the
colour accordingly.

Luuk Kuiper

 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Lucian Smith
Sent: 22 July 2009 22:22
To: QT Creator mailing list
Subject: [Qt-creator] #ifdef areas always grey

(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
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to