Details
Description
Highlighted text is not cleared when search string is not found.
Not sure if this is a feature. Couldn't find anything mentioning this as feature in changes-13.0.0.
STEPS:
- Open some file in Qt Creator 13 (widgets\calculator\calculator.cpp used for testing)
- Press 'Ctrl + F' to start search
- Enter keywords where it matches text in the file (lets call this search text as MATCH)
(MATCH = main, used as example)
- After the matching text, enter character which makes the word not found in the file (lets call this search text as MATCHx)
- Observe the highlighted text in the text editor
OBSERVED :
- The highlighted text is not cleared when MATCHx is entered
- The highlight color seems to be mix of search text(yellow) and selection text(lightblue)
- The search is also triggering selection which seems to cause the highlight issue.
Observe that after entering 'maink', 'main' is shown as selected text (blue)
- Selection also triggers search.
For e.g select 'Button' with mouse.
EXPECTED:
- The highlighted text should be cleared as MATCHx is not found in the file
(ie, when 'maink' was entered as search, the highlight should have been removed)
e.g from Qt Creator 12.0.2 -
- The matched search text should be highlighted in yellow as in previous Qt Creator version 12.0.2