Community
    • Login

    How can I allow hotkey conflicts?

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 313 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.
    • Waka Waka906W
      Waka Waka906
      last edited by

      Eg.: both CUT and LINECUT with ctrl+x

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Waka Waka906
        last edited by

        @Waka-Waka906 ,

        It flags conflicts for you, but doesn’t stop you from having conflicts. When there is a conflict, Notepad++ will pick one of the conflicting actions and apply it. There is anecdotal evidence that it picks the first one it comes to when doing some list of processing, but you cannot control which one occurs. I even vaguely remember one case when multiple actions may have been taken, but I cannot guarantee that will work.

        In general, it’s a bad idea to have conflicts, because you cannot control whether one, some, or all of those actions occur when you use the hotkey. But if you’re willing to live with the ambiguity, feel free to leave the conflict there – Notepad++ won’t stop you.

        If you want to guarantee that multiple actions occur with the same shortcut, record a macro where both actions are explicitly invoked, then assign your desired keystroke to the macro rather than to the individual actions.

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