Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
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

Closed

Description

@njx
  1. Cmd-F
  2. Start typing a word that appears more than once in the document
  3. 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.

Activity

  1. peterflynn commented on Oct 25, 2012

    @peterflynn
    Member

    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?

  2. TomMalbran commented on Oct 25, 2012

    @TomMalbran
    Contributor

    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.

  3. pthiess commented on Oct 29, 2012

    @pthiess
    Contributor

    Reviewed and assigned to Peter

  4. pthiess commented on Oct 29, 2012

    @pthiess
    Contributor

    @peterflynn Please have a look or reassign as appropriate.

  5. ghost assigned on Nov 2, 2012
  6. peterflynn commented on Nov 7, 2012

    @peterflynn
    Member

    FBNC @njx

  7. ghost assigned on Nov 7, 2012
  8. njx commented on Nov 7, 2012

    @njx
    Author

    Confirmed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions