#ifdef block highlighting
Posted: Wed Dec 11, 2013 10:55 am
__WXGTK__ is defined somewhere in wxWidgets and in Project's settings, but code is highlighted as excluded.
upd: #if does not work correctly anyway. #if VAR highlights after #else block, #if VAR != 0 highlights first block. And no matter what is real value of VAR.
And if i defined something like #define VAR 1 and use it in code as #if VAR .. #endif - code highlighted as excluded. But if i do #if VAR != 0 ... #endif - everything is fine.upd: #if does not work correctly anyway. #if VAR highlights after #else block, #if VAR != 0 highlights first block. And no matter what is real value of VAR.