__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.#ifdef block highlighting
-
- CodeLite Enthusiast
- Posts: 17
- Joined: Sat Dec 07, 2013 11:51 am
- Genuine User: Yes
- IDE Question: C++
- Location: Russia
- Contact:
#ifdef block highlighting
You do not have the required permissions to view the files attached to this post.
-----------------------
Core2Duo E6750, 6Gb RAM, Ubuntu 12.04, CodeLite 5.3-110
Core2Duo E6750, 6Gb RAM, Ubuntu 12.04, CodeLite 5.3-110
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: #ifdef block highlighting
You need to enable clang for this feature to work properly + run at least one full rebuild
Otherwise, it should work
Eran
Otherwise, it should work
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 17
- Joined: Sat Dec 07, 2013 11:51 am
- Genuine User: Yes
- IDE Question: C++
- Location: Russia
- Contact:
Re: #ifdef block highlighting
Thank you, it helped.
-----------------------
Core2Duo E6750, 6Gb RAM, Ubuntu 12.04, CodeLite 5.3-110
Core2Duo E6750, 6Gb RAM, Ubuntu 12.04, CodeLite 5.3-110