User forums > Using Code::Blocks

Incorrect highlighting with #define's of wxWidgets?

(1/1)

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:
This is just a limitation of the feature.

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.

Navigation

[0] Message Index

Go to full version