diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-06-04 20:41:58 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-06-04 20:41:58 +0000 |
commit | b2475cae72e9dc499868484afe169cacb53302d5 (patch) | |
tree | 9d220fbdf886c63bf7c8806d83857b51fa1802e6 /regress/lib | |
parent | 267cd1813af8dc39ffcc1eb6fd7daeb35818371d (diff) |
Some improvements to performance of searching:
- Do not allow searches to be repeated at intervals of less than 50
milliseconds, to prevent a huge queue of repeat key presses blocking
up everything for ages.
- If the search text hasn't changed, the match count can't have changed
and there is no need to do a full search, so only search the visible
text. This includes both scrolling and repeating the search.
- Do not redraw twice when jumping to the search location.
GitHub issue 2258.
Diffstat (limited to 'regress/lib')
0 files changed, 0 insertions, 0 deletions