• Login
Community
  • Login

Is it possible to close the Find Results window with keyboard

Scheduled Pinned Locked Moved General Discussion
8 Posts 3 Posters 1.2k 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.
  • A
    Artiom Orlov
    last edited by Aug 9, 2022, 3:59 PM

    There is a shortcut F7 to open the Find Results panel and switch focus to it. Is there any quick way to close the Find Results from the keyboard?

    E 1 Reply Last reply Aug 9, 2022, 4:59 PM Reply Quote 0
    • E
      Ekopalypse @Artiom Orlov
      last edited by Aug 9, 2022, 4:59 PM

      @Artiom-Orlov

      Esc :-)

      A 1 Reply Last reply Aug 9, 2022, 5:07 PM Reply Quote 1
      • A
        Artiom Orlov @Ekopalypse
        last edited by Aug 9, 2022, 5:07 PM

        @Ekopalypse
        Oh… I see
        I configured Esc to close current document.
        Wondering, can I define something to close Find Results now the same way…

        E 1 Reply Last reply Aug 9, 2022, 5:14 PM Reply Quote 0
        • E
          Ekopalypse @Artiom Orlov
          last edited by Aug 9, 2022, 5:14 PM

          @Artiom-Orlov

          Hmm … I don’t think so.

          E 1 Reply Last reply Aug 9, 2022, 5:21 PM Reply Quote 0
          • E
            Ekopalypse @Ekopalypse
            last edited by Aug 9, 2022, 5:21 PM

            If I understand the code correctly , only the default dialog behaviors are implemented in this window.

            A 1 Reply Last reply Aug 9, 2022, 5:25 PM Reply Quote 1
            • A
              Alan Kilborn
              last edited by Aug 9, 2022, 5:22 PM

              Configurable keys only exists for the main editing window; when it has input focus. Any other UI element, when it has input focus, only has fixed key commands that it responds to, and those vary depending upon which element it is.

              I configured Esc to close current document

              This is fine, if a bit odd. But again, only works when the editing window has input focus.

              Esc should still work fine to close Search results (when IT has input focus).

              1 Reply Last reply Reply Quote 3
              • A
                Alan Kilborn @Ekopalypse
                last edited by Aug 9, 2022, 5:25 PM

                @Ekopalypse said in Is it possible to close the Find Results window with keyboard:

                If I understand the code correctly, only the default dialog behaviors are implemented in this window.

                I think you have the right idea, but the link is to the code for the wrong window.

                E 1 Reply Last reply Aug 9, 2022, 5:30 PM Reply Quote 3
                • E
                  Ekopalypse @Alan Kilborn
                  last edited by Ekopalypse Aug 9, 2022, 5:30 PM Aug 9, 2022, 5:30 PM

                  @Alan-Kilborn

                  don’t be so hard on myself, I just missed it by ~4000 lines :-D

                  1 Reply Last reply Reply Quote 3
                  3 out of 8
                  • First post
                    3/8
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors