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

String highlighting fails on a multi-line string

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • Qt Creator 1.2.1
    • Editors
    • None

    Description

      Only the first line of a multi-line string is highlighted correctly.

      E.g.:

      QString mainWindowButtonStyle = "QToolButton { border: 3px solid black; \
                                                                                                 border-radius: 6px; \
                                                                                                 background-color: white; \
                                                                                                 color: black; \
                                                                                                 min-width: 300px; \
                                                                                                 max-width: 300px; \
                                                                                                 min-height: 200px; \
                                                                                                 max-height: 200px; \
                                                                                                 font: bold 20px; \
                                                                                                 font-family: \"Arial\"; } \
                                                                        QToolButton:pressed { background-color: black; \
                                                                                                                  color: white; }";
      

      Attachments

        1. 101116-creator1-wrong_parenthesis_highlight.png
          87 kB
          Marek Wieckowski
        2. 101116-creator2-wrong_error_section_hightlight.png
          86 kB
          Marek Wieckowski
        3. 101116-creator3-wrong_auto_indent-before.png
          88 kB
          Marek Wieckowski
        4. 101116-creator4-wrong_auto_indent-after.png
          88 kB
          Marek Wieckowski

        Issue Links

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

          Activity

            People

              raggi Roberto Raggi
              r3veng Nick Gaens
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes