Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

Find jumps to next occurance of last search instead of letting me type a search #285

Open
michaelkantor opened this issue Jul 18, 2013 · 0 comments

Comments

@michaelkantor
Copy link

If the search bar is showing and I hit Cmd-F, going to the next occurance of my search term is good.

But if the search bar is hidden and I hit Cmd-F and it executes the last remembered search, it could take me a thousand lines away from where I'd wanted to start my search. So now I have to search for the line I started at instead of the text I'm trying to find.

Adding insult to injury, if I clear out the text in the search bar, close the search bar, go back to where I started, and hit Cmd-F again, it restores the search that I deliberately cleared and jumps 1000 lines down the file.

Recommended behaviors (some of which work and some do not):

  1. If search bar is closed and I hit Cmd-F, open the search bar, focus on the search text and give me the opportunity to edit it instead of immediately executing the search.
  2. Cmd-F only executes the search if the searchbar is open; which after completing behavior 1 will be the case.
  3. Hitting Enter within the searchbar can also be used to reexecute the current search text
  4. Typing something will replace (or be added to) the current search, and the search will execute as I type STARTING FROM WHERE I WAS WHEN FIRST OPENNING THE SEARCH BAR!
  5. If I clear the searchbar text, that should be remembered.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant