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

Incorrect highlighting and indentation when string literal contains newline

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 2.2.0
    • C/C++/Obj-C++ Support
    • None

      Paste these lines into a C++-editor:

      char * mychar = "my string in long long line .... \
                       line continues .... ";
      

      This results in the following wrong highlighting and indentation:

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            ckamm Christian Kamm
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes