• Login
Community
  • Login

Changing the focus from Function List panel to the main editor, and vice-versa

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
12 Posts 6 Posters 1.1k 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.
  • C
    Captain Shepard
    last edited by Aug 10, 2020, 10:14 PM

    Hi everyone,

    I would like to know if there is a keyboard shortcut to change the focus from a side panel (e.g., Function List, Document Map, etc…) to the main editor window, and vice-versa (i.e., back from the main editor window to the Function List, for example).

    I could not find a similar shortcut in the shortcut mapper. The ‘F8’ shortcut returns to the previous view but does not allow for alternating between open side panels and the main window.

    Is there a keyboard shortcut or a plugin to do this, please? If not, is there a tutorial to add this functionality to N++?

    Thank you very much in advance!

    E 1 Reply Last reply Aug 11, 2020, 11:39 AM Reply Quote 0
    • E
      Ekopalypse @Captain Shepard
      last edited by Ekopalypse Aug 11, 2020, 11:41 AM Aug 11, 2020, 11:39 AM

      @Captain-Shepard said in Changing the focus from Function List panel to the main editor, and vice-versa:

      I would like to know if there is a keyboard shortcut to change the focus from a side panel

      Afaik, ALT+W+W+ENTER works most of the time. (I know in document map it doesn’t)

      A A 2 Replies Last reply Aug 11, 2020, 11:42 AM Reply Quote 3
      • A
        Alan Kilborn @Ekopalypse
        last edited by Aug 11, 2020, 11:42 AM

        @Ekopalypse said in Changing the focus from Function List panel to the main editor, and vice-versa:

        Afaik, ALT+W+W+ENTER works most of the time

        Maybe better said as Alt+w then w then Enter.

        1 Reply Last reply Reply Quote 3
        • A
          astrosofista @Ekopalypse
          last edited by Aug 11, 2020, 4:27 PM

          @Ekopalypse said in Changing the focus from Function List panel to the main editor, and vice-versa:

          Afaik, ALT+W+W+ENTER works most of the time. (I know in document map it doesn’t)

          Hi @Ekopalypse, @Alan-Kilborn

          FWIW, it doesn’t work in my setup, though ALT+N, then N then Enter works. In other words, take into account that it’s language dependant.

          Have Fun!

          1 Reply Last reply Reply Quote 4
          • G
            guy038
            last edited by guy038 Aug 12, 2020, 10:15 AM Aug 12, 2020, 10:13 AM

            Hello, @captain-shepard and **All,

            Here is a non-exhaustive table of the ways to switch from a panel to the main editor window and vice-versa

            I surely forgot some obvious ways ! For instance, modifying a localization file in order to use the Alt + Letter method

            •---------------------------------------•-----------------------------•------------------------------------------------------•
            |                 Panel                 |  From Panel to Main Editor  |              From Main Editor to Panel               |
            •---------------------------------------•-----------------------------•------------------------------------------------------•
            |                                       |                             |                                                      |
            |  Project                              |  Window key, twice          |  Click on Panel's title                              |
            |                                       |                             |                                                      |
            |  Folder as Workspace                  |  Window key, twice          |  Click on Panel's title                              |
            |                                       |                             |                                                      |
            |  Function list                        |  Window key, twice          |  Click on Panel's title                              |
            |                                       |                             |                                                      |
            |  Character panel                      |  Window key, twice          |  Click on Panel's title  or hit a User Shortcut      |
            |                                       |                             |                                                      |
            |  Clipboard History                    |  Window key, twice          |  Click on Panel's title  or hit a User Shortcut      |
            |                                       |                             |                                                      |
            |  Incremental search                   |  Window key, twice          |  ALt + Ctrl + I                                      |
            |                                       |                             |                                                      |
            |  Find Result                          |  F7                         |  F7                                                  |
            |                                       |                             |                                                      |
            |  Find / Replace/ Find in Files/ Mark  |  Alt + Tab                  |  Ctrl + F / Ctrl + H / Shift + Ctrl + F / Ctrl + M   |
            |                                       |                             |                                                      |
            |  Go to                                |  Alt + Tab                  |  Ctrl + G                                            |
            •---------------------------------------•-----------------------------•------------------------------------------------------•
            

            Best Regards,

            guy038

            A 1 Reply Last reply Aug 12, 2020, 11:31 AM Reply Quote 0
            • A
              Alan Kilborn @guy038
              last edited by Aug 12, 2020, 11:31 AM

              @guy038

              I’m confused about the Alt+Tab ones.
              For me this switches apps, not windows within an app…

              P 1 Reply Last reply Aug 12, 2020, 1:16 PM Reply Quote 0
              • P
                PeterJones @Alan Kilborn
                last edited by Aug 12, 2020, 1:16 PM

                @Alan-Kilborn ,

                The Alt+Tab may have been a Windows change at some point. IIRC, @guy038 still uses WinXP, and it may be that Microsoft allowed Alt+Tab to work with sub-dialogs in a version from that long ago; I don’t remember. But I can confirm with my Win10 that Alt+Tab will not take you from the Find dialog back to the main NPP window.

                A 1 Reply Last reply Aug 12, 2020, 2:13 PM Reply Quote 4
                • A
                  Alan Kilborn @PeterJones
                  last edited by Aug 12, 2020, 2:13 PM

                  @PeterJones

                  The Alt+Tab may have been a Windows change at some point

                  I have no specific memories of WinXP as it has been close to a decade since I used it, but it seems like Alt+Tab has pretty much always been an “app switcher” in Windows?

                  @guy038 still uses WinXP

                  Guy should have a “Donate” button for when he provides regex help. Get himself a new Win10 capable box very quickly. :-)

                  1 Reply Last reply Reply Quote 3
                  • G
                    guy038
                    last edited by guy038 Aug 12, 2020, 5:13 PM Aug 12, 2020, 3:58 PM

                    Hi, @captain-shepard, @peterjones, @alan-kilborn and All,

                    Ah… OK ! So, certainly, the Alt + Tab combination must be Win XP specific !

                    For instance, let suppose I’ve just opened Notepad++ and the Calc software, on my Win XP laptop :

                    • Hit CTRL + F => The Find dialog opens

                    • Hit Alt + Tab => Focus is now on the Main Editor

                    • Hit CTRL + F, again => The Find dialog is back, on the foreground

                    • Hit Alt + Tab => Focus is back , again, on the Main Editor

                    • Hit Alt + Tab, again => Calc.exe is selected

                    • Hit Alt + Tab, a last time => Notepad++.exe is selected and focus is , again, on the main editor window, with the Find dialog in the background


                    Alan, you’re teasing me, but you’re right! I’m almost ashamed ! So 2021 should be a big year — for me — with a brand-new Win 10 laptop !

                    BR

                    guy038

                    A 1 Reply Last reply Aug 12, 2020, 5:37 PM Reply Quote 2
                    • A
                      Alan Kilborn @guy038
                      last edited by Aug 12, 2020, 5:37 PM

                      @guy038 said in Changing the focus from Function List panel to the main editor, and vice-versa:

                      you’re teasing me, but you’re right! I’m almost ashamed ! So 2021 should be a big year — for me — with a brand-new Win 10 laptop !

                      2021 ??
                      You really need a gofundme.
                      All these slackers/takers that have milked you for regexes over the years should be hounded up and asked to donate.
                      You’d surely get your new laptop before 2020 is out.

                      1 Reply Last reply Reply Quote 3
                      • G
                        guy038
                        last edited by Aug 12, 2020, 11:03 PM

                        Hello, @Alan-kilborn and All,

                        In fact, I feel a bit silly because because I just flew over your idea, Alan and my answer really needs to be understood in the first degree :

                        At no time did I want to suggest that people should donate to help me get a new laptop !

                        I just wanted to say that it was time to stop bothering, you all, with my old Win XP machine and that it was urgent for me to change times ! ( probably for Christmas )

                        I know…, I must have already said that, last year ;-)))

                        Cheers,

                        guy038

                        A 1 Reply Last reply Aug 13, 2020, 12:21 AM Reply Quote 0
                        • A
                          Alan Kilborn @guy038
                          last edited by Aug 13, 2020, 12:21 AM

                          @guy038 said in Changing the focus from Function List panel to the main editor, and vice-versa:

                          At no time did I want to suggest that people should donate to help me get a new laptop !

                          Of course not; all my idea.
                          Nobody interpreted it as you with your hand out.
                          At least I don’t think so.
                          I’ll cease with the joking around as perhaps it is making you feel awkward; apologies.

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