Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
None
-
Qt Creator 2.5.2, Qt Creator 3.0.0-rc1
-
None
-
Linux/Kubuntu used here.
-
1d834c1126dde58dd71e595b3f5e135cc0ca4dbd
Description
I just recognized a highlighter error that is simple to reproduce: Just add a line with a "_FILE_" (without the quot.marks), and the rest of the line is a bit funny coloured.
Example:
#include <QCoreApplication> #include <QDebug> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); int testInteger = 1; qDebug() << __FILE__ << QString::number(__LINE__) << " siteUidBefore =" << QString::number(testInteger); return a.exec(); }
Attachments
Issue Links
- replaces
-
QTCREATORBUG-9644 __FILE__ breaks variable highlighting
- Closed
For Gerrit Dashboard: QTCREATORBUG-8036 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
69101,2 | Preprocessor Enginge: fix bug in pp-engine.cpp | master | qt-creator/qt-creator | Status: ABANDONED | 0 | 0 |
69183,2 | Preprocessor Enginge: fix bug in pp-engine.cpp | 3.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
72812,2 | C++: Fix highlighting for lines with predefined macros | 3.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |