Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-8036

highlighting broken with "__FILE__" in same line

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • Qt Creator 2.5.2, Qt Creator 3.0.0-rc1
    • C/C++/Obj-C++ Support
    • 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

          For Gerrit Dashboard: QTCREATORBUG-8036
          # Subject Branch Project Status CR V

          Activity

            People

              kosjar Nikolai Kosjar
              droetker Christian Gonzalez
              Votes:
              3 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes