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

Generic Highlighter highlight problems

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/X11
    • Commits:
      6fd355b84b48682012c3914d264848084fe7b230 (qt-creator/qt-creator/4.9)

      Description

      I noticed that when editing shell scripts.

      When an echo line has unbalanced quotes, the next lines are highlighted wrong.

      Steps to reproduce:

      #!/bin/bash
      
      echo "Hello World" 
      echo
      
      • Delete the last quote in "Hello World"
      • Add an exclamation sign after World
      • Add the closing quote
      • The lines after "Hello World" are now incorrectly highlighted
      • Adding more lines at the end continues with wrong highlight

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                davschul David Schulz
                Reporter:
                aha_1980 André Hartmann
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes