Details
-
Bug
-
Resolution: Cannot Reproduce
-
P3: Somewhat important
-
Qt Creator 1.0
-
None
-
1bb9a245176e5497da494f5092af940fbe613494
Description
The color of the code inside a #if can be wrong if there is an indentation of the marco.
For example, copy the following code in Qt Creator:
#define TRY 0
#define TRY2 1
function_1(....);
function_2(....);
function_3(....);
function_4(....);
function_5(....);
#if TRY == 0
function_1(....);
function_2(....);
#if TRY2 == 0
// Text
QDrag *test;
function_1();
#endif
function_3(....);
function_4(....);
function_5(....);
#endif