The highlighted line of a search result is not updated correctly
when scrolling a screen with repeated lines.
Details
Details
- Reviewers
hindenburg - Group Reviewers
Konsole - Commits
- R319:2754e08ff23f: Fix search result highlight when scrolling
R319:3fc9fab788cb: Fix search result highlight when scrolling
cat a file containing the same line repeated many times.
Search for a string, then scroll: the highlight line should
be displayed correctly.
Diff Detail
Diff Detail
- Repository
- R319 Konsole
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
src/TerminalDisplay.cpp | ||
---|---|---|
1435 | if ((_screenWindow->currentResultLine() != -1) && (_screenWindow->scrollCount() > 0)) { IMHO this is easier to read and understand |