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

QmlJSEditor: QuickToolBar: Corrupt highlighting when prepending property

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • Qt Creator 3.4.0-beta1
    • Quick / QML Support
    • OSX, Linux

    Description

      Steps to reproduce:

      • have highlight matching parentheses enabled
      • open / create a simple QML file
      • place cursor onto an item that might have a color property (if it has already on remove it first, make sure there are no properties which might come before color (alphabetically))
        • small light-bulb should appear
        • click on it
        • Quick Tool Bar should appear
      • set the color to any value by using the Quick Tool Bar

      Current result:

      • highlight of the open parentheses is drawn now for the newly added property as well

      Expected result:

      • no highlight change (or highlight of the parentheses is removed)

      Attachments

        1. QuickToolBar_CodeInsert.png
          33 kB
          Christian Stenger
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtqmlteam Qt Qml Team User
            cstenger Christian Stenger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes