c++ syntax highlighting
    Andreas Pakulat 
    apaku at gmx.de
       
    Mon May 14 14:24:54 BST 2007
    
    
  
On 14.05.07 15:15:10, hg wrote:
> 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?
I doubt kate's highlighter is able to parse this, but feel free to file
a bugreport against kate. KDevelop doesn't do any syntax highlighting in
KDevelop3.
Andreas
-- 
Give your very best today.  Heaven knows it's little enough.
    
    
More information about the KDevelop
mailing list