c++ syntax highlighting

hg hg at technosis.de
Mon May 14 14:15:10 BST 2007


Hi,

in c++-project if I type a preprocessor construct like

#if 0
	some grayed code
#else
	some black colored code
#endif 

the first part behind the '#if 0' is correctly displayed in gray cause it's 
not in use.
But if I change the statement into "#if 1' both parts are displayed as beeing 
active in black color:
 
#if 1
	some black colored code
#else
	some black colored code
#endif 

Shouldn't now the else block be displayed in inactive gray color?

Best wishes
Heiko




More information about the KDevelop mailing list