News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Incorrect highlighting with #define's of wxWidgets?

Started by TRAyres, September 07, 2015, 01:25:06 AM

Previous topic - Next topic

TRAyres

Launching a default wxWidgets application and building it works just fine, but I noticed the #define statements in setup.h are incorrectly highlighted:
The program built with menus, but I see those lines grayed out (see attached image).

I'm using the nightly build, SVN 10320.

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

TRAyres

How can we remove that limitation? Is it a problem with how far nested the #define statements are?

I'll try to build the development branch when I have some time and add some debug output for #define expansions; it should lead to where the problem is.

oBFusCATed

The problem is that this feature is implemented by the editor component and it doesn't have connection to the CC component, so it have a limited knowledge of the code.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]