Community
    • Login

    Change middle-click behavior in Notepad++?

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 4 Posters 1.7k 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.
    • Brian BowersB
      Brian Bowers
      last edited by

      My laptop’s touchpad has three buttons. In Notepad++, the middle one closes open file tabs. I find this behavior frustrating and I’m wondering if I can change it. Thanks in advance for any suggestions!

      Alan KilbornA EkopalypseE 2 Replies Last reply Reply Quote 1
      • Alan KilbornA
        Alan Kilborn @Brian Bowers
        last edited by

        @Brian-Bowers

        Hmmm…is it documented anywhere that a middle mouse button closes a tab? Since I have NEVER in almost 30 years of computing used a 3-button mouse (or a touchpad with that)…do you have to be pointing at the tab to close it, or will it close if your mouse cursor is anywhere within the editing area of a tab’s window? That latter thing may be annoying as it could accidentally happen…

        1 Reply Last reply Reply Quote 1
        • EkopalypseE
          Ekopalypse @Brian Bowers
          last edited by

          @Brian-Bowers

          I’m wondering if I can change it.

          Normally such mice come with a driver configuration software or use the standard windows mouse applet to let the user configure its behavior.

          1 Reply Last reply Reply Quote 2
          • PeterJonesP
            PeterJones
            last edited by PeterJones

            @Alan-Kilborn said:

            Since I have NEVER in almost 30 years of computing used a 3-button mouse (or a touchpad with that)…do you have to be pointing at the tab to close it, or will it close if your mouse cursor is anywhere within the editing area of a tab’s window?

            I believe I had one at one point, but could be wrong. I currently have a two-button-plus-scroll-wheel, and the wheel is clickable. If I middle-click (ie, click the scroll wheel) in the main editor, nothing happens, so that’s good. If I middle click anywhere on that file’s tab in the tabbar, it will close that tab – it does, however, ask me to save any changes first, and I can cancel at that point; if the file was already saved, then it will close without a prompt, so I can confirm similar behavior to the OP.

            If @Brian-Bowers has a saved file that accidentally gets closed, he can re-open it quite quickly using File > Restore Recent Closed File (which either has a keyboard shortcut, or can be assigned one in the Shortcut Mapper)

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