-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat/implement basic searching (#40)
* define search object with methods * feat: acquire matching find count for now * find selection per each line * feat: handle editing search field and draw cursor etc., * refactor: store finds don't return them * feat: next find pos returns current find position * test: ensure current find progresses on next invocation * test: ensure we go back to the start on elapse * fix: add matches line and start and end * docs: define todo * scroll through current line finds before lines * docs: remove unneeded comment * add more to clear from search * test: define check for current searching scrolling bug * test: explicitly check resolved finds * fix: pass tests which show find selection scrolls correctly * refactor: adjust render behaviour switching based on current mode * test: ensure that next line find is selected correctly * test: ensure find selection loops back to first * fix: define explicit status label and colour for search mode
- Loading branch information
Showing
3 changed files
with
225 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters