-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 18.0.0
-
None
-
-
faecd8d44 (18.0)
when working on objective-c files, the syntax highlighter easily break. this tends to happen after objective-c method calls.
check qcore_foundation.mm in qtbase:
method and variable names are yellow, while according to the color scheme they should not.
observation: it seems to be triggered by the `[[` sequence. if this sequence is broken up, e.g like:
return [/* */ [/* */ [NSUUID alloc] initWithUUIDBytes:u] autorelease];
subsequent highlighting looks good (after closing/reopening the source file)
For Gerrit Dashboard: QTCREATORBUG-33282 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
674800,2 | CppEditor: Do not try to highlight C++ attributes in Objective-C code | 18.0 | qt-creator/qt-creator | Status: MERGED | +2 | +1 |