PDA

View Full Version : How to switch off grey out of code blocks in QtCreator editor.



m.p
2nd February 2012, 12:19
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.

Lykurg
2nd February 2012, 13:08
Options -> text editor -> colors and there look for deactivated Code.

m.p
2nd February 2012, 15:10
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...