Results 1 to 3 of 3

Thread: How to switch off grey out of code blocks in QtCreator editor.

  1. #1
    Join Date
    May 2011
    Posts
    19
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default How to switch off grey out of code blocks in QtCreator editor.

    Hello,

    how to turn off greying out of code in preprocessor blocks?

    For example:

    #define X

    #ifndef X
    // something
    #endif

    and QtCreator make code between ifndef and endif gray, but i don't want this behaviour.

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: How to switch off grey out of code blocks in QtCreator editor.

    Options -> text editor -> colors and there look for deactivated Code.

  3. #3
    Join Date
    May 2011
    Posts
    19
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: How to switch off grey out of code blocks in QtCreator editor.

    Yesh, but with this option i can only change its colour. I don't want to have any of my code deactivated, becouse I can't use jumping do definitions when i keep my shift pushed and so one...

Similar Threads

  1. QtCreator warning underlines in text editor
    By chaoticbob in forum Qt Tools
    Replies: 6
    Last Post: 29th December 2009, 23:46
  2. Like Qtcreator editor
    By wirasto in forum Qt Programming
    Replies: 2
    Last Post: 2nd December 2009, 07:00
  3. code become grey
    By weixj2003ld in forum Qt Programming
    Replies: 3
    Last Post: 16th April 2009, 14:44
  4. Code Blocks
    By upton15 in forum Newbie
    Replies: 1
    Last Post: 17th December 2007, 08:13

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.