You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
Should be able to "find next" while focus is in the Find bar #1935
Start typing a word that appears more than once in the document
Cmd-G to find next
Result: Doesn't work while focus is in the Find bar. Now that we have incremental search, it seems really natural to just hit Cmd-G right away without hitting Enter first.
This is probably due to the same reason why Cmd-A doesn't work.
I don't know what the issue is with Cmd/Ctrl-A, but for this bug the problem is definitely that getFocusedEditor() returns null while focus is in the Find bar. So the user story this sprint about focus should fix it.
That raises an interesting question though: what's the correct behavior when you do Find Next one or more times, and then modify the search field? Are you searching from the original search's start point, or from wherever Find Next has brought you to?
Related to this issue, and for the same problem with getFocusedEditor(), if the focus is in the find bar, you can't open the Find or Replace bars.
To reproduce it, open any find bar, like FindInFiles, and while focus is on it, try to switch to Find or Replace. But it does let you switch from Find or Replace to FindInFiles.
Activity
peterflynn commentedon Oct 25, 2012
I don't know what the issue is with Cmd/Ctrl-A, but for this bug the problem is definitely that getFocusedEditor() returns null while focus is in the Find bar. So the user story this sprint about focus should fix it.
That raises an interesting question though: what's the correct behavior when you do Find Next one or more times, and then modify the search field? Are you searching from the original search's start point, or from wherever Find Next has brought you to?
TomMalbran commentedon Oct 25, 2012
Related to this issue, and for the same problem with getFocusedEditor(), if the focus is in the find bar, you can't open the Find or Replace bars.
To reproduce it, open any find bar, like FindInFiles, and while focus is on it, try to switch to Find or Replace. But it does let you switch from Find or Replace to FindInFiles.
pthiess commentedon Oct 29, 2012
Reviewed and assigned to Peter
pthiess commentedon Oct 29, 2012
@peterflynn Please have a look or reassign as appropriate.
peterflynn commentedon Nov 7, 2012
FBNC @njx
njx commentedon Nov 7, 2012
Confirmed.