Community
    • Login

    How can I allow hotkey conflicts?

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 504 Views 1 Watching
    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 Offline
      Waka Waka906
      last edited by

      Eg.: both CUT and LINECUT with ctrl+x

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Online
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors