From 06c9ab090b6307b21226e6d8e7b34fc69380594b Mon Sep 17 00:00:00 2001 From: Florrie Date: Thu, 13 Sep 2018 21:52:47 -0300 Subject: Show preview of "Jump to" result Also let the user cancel (esc) the "jump to" to restore the selected index to wherever it was before. A neat thing you can do with this: Your cursor will automatically move to whatever the matched result of your query is while typing. If nothing is found, your cursor will stay where it was the last time it found something: so, if you press enter to confirm, AFTER you've queried something but WHILE your query doesn't currently mathc anything, it'll keep the cursor at whatever was most recently matched. So basically, Ctrl-F'ing "excir" will match "Excursions", since "exc" will have matched it already. --- todo.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'todo.txt') diff --git a/todo.txt b/todo.txt index 869b051..451c16f 100644 --- a/todo.txt +++ b/todo.txt @@ -119,6 +119,11 @@ TODO: After the end of a shuffled queue, the next song from the group of the definitely wrong. TODO: Show a preview of where "Jump to" will go while typing. + (Done!) + +TODO: Cancelling "Jump to" should return the selected index to whatever it was + before. + (Done!) TODO: Entering more than one key "at once" into a text input element will only move the cursor right by one character, not by the length of the inputted -- cgit 1.3.0-6-gf8a5