Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.12.0-rc1
-
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
For Gerrit Dashboard: QTCREATORBUG-23830 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
297622,2 | QmlJS: Fix lexer handling of escape sequences | 4.12 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
298811,2 | QmlJS: Fix lexer handling of escape sequences (again) | 4.12 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |