Community
    • Login

    F7 should toggle

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 536 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Jon PughJ Offline
      Jon Pugh
      last edited by

      Is there a reason that F7 only shows the Search Results window instead of toggling it? As is, you need to use the mouse to close it. Seems like it would be simple and sensible to make it a toggle.

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Offline
        PeterJones @Jon Pugh
        last edited by PeterJones

        @Jon-Pugh said in F7 should toggle:

        Is there a reason that F7 only shows the Search Results window instead of toggling it?

        The reason is “design decision”. Specifically, because the first F7 will show the window and move your focus there (so keyboard commands affect the search results, not your active editor view), and the second F7 will move the focus (and keyboard control) back to the editor, without closing the Search Results. This is highly important to people who want to be able to swap the focus easily back-and-forth between the editor and the search results.

        As is, you need to use the mouse to close it.

        No, you don’t. F7 will show the window, ESC will close it while your focus is in the search results. So you can still close it with the keyboard.

        Seems like it would be simple and sensible to make it a toggle.

        The developer chose to use the “toggle” portion of F7 to toggle focus, not toggle visibility, which is also sensible: just because it’s not your preferred pairing doesn’t make it not sensible.

        1 Reply Last reply Reply Quote 3

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors