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

"Rename symbol under cursor" highlighter issue

    XMLWordPrintable

Details

    • 63db0f271fd2f9d9136e30e49693a525d60f8549 (qt-creator/qt-creator/4.12)

    Description

      In certain specific situations, the highlighter makes a mistake and shifts the pattern recognition by one character. Please refer to the attached sample file and try calling "Rename symbol under cursor" for "name"
      In the Search Result window, you can see the highlighter is wrong for one search result.

      Please note that it affects not the "Ctrl+F" search (and replace), but the (Ctrl+Shift+R) "Rename Symbol Under Cursor) search (and replace).

      Attaching the sample qml file and snapshot

      Attachments

        1. main.qml
          0.3 kB
        2. qtcreatorbug23830.PNG
          qtcreatorbug23830.PNG
          113 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            cstenger Christian Stenger
            shmittal Shveta Mittal (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes