Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
Qt Creator 15.0.0, Qt Creator 15.0.1
-
896739d13 (master)
Description
The horizontal lines on scrollbars indicating where "Find" occurrences are in the text document don't take into account any folded code.
Steps to reproduce
- Open a large .cpp file where the first third of the file is inside a namespace.
- Collapse the namespace
- Press Ctrl+F and enter a term that is found only in the middle third of the document.
Expected results
The scrollbar thumb slider should overlap the markers while the text matches are shown in the document viewport.
Actual results
The scrollbar markers are drawn too low. The scrollbar slider does not overlap with them when the text matches are visible in the document viewport, and the text matches are not seen in the viewport if the slider is dragged down to overlap the markers.
Attachments
For Gerrit Dashboard: QTCREATORBUG-32332 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
621533,3 | Editor: fix highlighting of search results in scrolbar | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |