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

Generic Highlighter highlight problems

XMLWordPrintable

    • Linux/X11
    • 6fd355b84b48682012c3914d264848084fe7b230 (qt-creator/qt-creator/4.9)

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes