Details
-
Sub-task
-
Resolution: Done
-
P3: Somewhat important
-
None
-
None
-
Demonstrated on WinXP Home, Win XP Pro and Ubuntu Karmic Koala
Description
C++ labels are color-coded by the Qt Creator editor. If a variable name is the first word on a line and is followed by (with or without space) ':', then this variable name is erroneously also color coded as label. As example please paste the following text in a *.cpp file and open in Qt Creator.
int variableA(1); int variableB(2); bool variableCondition(true); this_is_really_a_label: int variableC = variableCondition ? variableA : variableB;
The word variableA on the last line is color coded like 'this_is_really_a_label'.