LibreraReader
LibreraReader copied to clipboard
[Feature] Better Find
I appreciate the logic behind the Find feature's design:
-
All match on the page are highlighted using the same color. No match is set active or highlighted in a different color. Such a feature would only make sense in applications with a cursor (such as with a text editor) or with continuous and reflowable content (such as in a web browser). For this reason there is no next-match/previous-match functionality.
-
The find windows displays individual pages rather than individual matches, because it is not possible to jump to a specific match.
1. Context
Nevertheless, I would like to be more informed when selecting a match. I would prefer if the Find windows had a toggle to display match contexts. While this is only a initial idea, I propose displaying the context as per-page child lists:
Given a search term "apparent", the Find window would display:
-
25
- ...to forge ahead in spite of apparent nonsense.
-
79
- This apparently obnoxious behavior follows from the rules...
-
110
- And components that apparently should work together frequently don't.
-
111
- And components that apparently should work together frequently don't.
-
165
- ...math facilities can be harnessed for apparently unrelated uses.
2. Speed
The Find window list should be incrementally populated. Waiting for the first 295 hits (the default cutoff) can take quite some time with large documents.
Furthermore, I hope that it is possible to search for the keywords from the current page. This is useful when the book is very long (say, more than 1000 pages).