Performance: Search should not start over while typing
Submitted by Scott Kostyshak
Link to original bug (#607907)
Description
Hi,
I propose that Evince's search not restart in some cases.
Here is an example: In a long document, I type part of a word, Evince is searching and has found no results so far, I then add on to that word. Evince currently restarts its search. But there is no need to-- if it hasn't found the shortened version, it won't find the longer one. It should continue uninterrupted.
More complicated implementation would save time even if the search had yielded results at the time. The code would just check the previous matches to see if they still match instead of restarting the search.
Thank you for the great work,
Scott
Version: 2.26.x