Code::Blocks

User forums => General (but related to Code::Blocks) => Topic started by: wanggaoteng on November 16, 2017, 01:18:25 pm

Title: Is it a bug about light colored of #if..#endif?
Post by: wanggaoteng on November 16, 2017, 01:18:25 pm
Hi, the pictures attached shows that some codes are light colored, but the test.h file has define flag=1.
Is it a bug about light colored of #if..#endif?
It seems that something cannot search all the project, it just search only the file which #if or #ifdef exists.
Sorry for my poor English.
P.S. codeblock16.01-64bit-ubuntu
Title: Re: Is it a bug about light colored of #if..#endif?
Post by: oBFusCATed on November 16, 2017, 08:19:53 pm
Yes, the feature is limited. And this one of the most often asked question. Until we implement semantic highlighting this isn't going to improve much.
Title: Re: Is it a bug about light colored of #if..#endif?
Post by: wanggaoteng on November 18, 2017, 04:20:31 am
Yes, the feature is limited. And this one of the most often asked question. Until we implement semantic highlighting this isn't going to improve much.
Thank you.