• Login
Community
  • Login

Change middle-click behavior in Notepad++?

Scheduled Pinned Locked Moved General Discussion
4 Posts 4 Posters 1.8k 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.
  • B
    Brian Bowers
    last edited by Jul 28, 2019, 5:00 PM

    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!

    A E 2 Replies Last reply Jul 28, 2019, 5:27 PM Reply Quote 1
    • A
      Alan Kilborn @Brian Bowers
      last edited by Jul 28, 2019, 5:27 PM

      @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
      • E
        Ekopalypse @Brian Bowers
        last edited by Jul 28, 2019, 6:16 PM

        @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
        • P
          PeterJones
          last edited by PeterJones Jul 28, 2019, 9:57 PM Jul 28, 2019, 9:56 PM

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