Community
    • Login

    F7 should toggle

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 123 Views
    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
      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
        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
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors