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 893 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.
    • Captain ShepardC
      Captain Shepard
      last edited by

      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!

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse @Captain Shepard
        last edited by Ekopalypse

        @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)

        Alan KilbornA astrosofistaA 2 Replies Last reply Reply Quote 3
        • Alan KilbornA
          Alan Kilborn @Ekopalypse
          last edited by

          @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
          • astrosofistaA
            astrosofista @Ekopalypse
            last edited by

            @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
            • guy038G
              guy038
              last edited by guy038

              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

              Alan KilbornA 1 Reply Last reply Reply Quote 0
              • Alan KilbornA
                Alan Kilborn @guy038
                last edited by

                @guy038

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

                PeterJonesP 1 Reply Last reply Reply Quote 0
                • PeterJonesP
                  PeterJones @Alan Kilborn
                  last edited by

                  @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.

                  Alan KilbornA 1 Reply Last reply Reply Quote 4
                  • Alan KilbornA
                    Alan Kilborn @PeterJones
                    last edited by

                    @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
                    • guy038G
                      guy038
                      last edited by guy038

                      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

                      Alan KilbornA 1 Reply Last reply Reply Quote 2
                      • Alan KilbornA
                        Alan Kilborn @guy038
                        last edited by

                        @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
                        • guy038G
                          guy038
                          last edited by

                          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

                          Alan KilbornA 1 Reply Last reply Reply Quote 0
                          • Alan KilbornA
                            Alan Kilborn @guy038
                            last edited by

                            @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
                            • First post
                              Last post
                            The Community of users of the Notepad++ text editor.
                            Powered by NodeBB | Contributors