Community
    • Login

    shortcuts.xml

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    6 Posts 2 Posters 1.1k 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.
    • Paul WormerP Offline
      Paul Wormer
      last edited by Paul Wormer

      I have question that is merely ment to satisfy my curiosity.

      In shortcuts.xml almost all definitions are mutually exclusive: either the command comes from PowerEditor, or from Scintilla. The exception is:
      <ScintKey ScintID="2469" menuCmdID="42010" Ctrl="yes" Alt="no" Shift="no" Key="68" />.
      This definition seems to assign simultaneously ctrl+D to "2469" (“SCI_SELECTIONDUPLICATE”) and to "42010" (“IDM_EDIT_DUP_LINE”).

      When I look at Settings > Shortcut Mapper, I only find an association of ctrl+D with “SCI_SELECTIONDUPLICATE”.

      In actual practice it seems that ctrl+D duplicates both selections and lines. My question is: what is the priority of key association? And if two commands are associated with the same key, what circumstance determines which command is executed?

      Alan KilbornA 2 Replies Last reply Reply Quote 2
      • Alan KilbornA Offline
        Alan Kilborn @Paul Wormer
        last edited by

        @Paul-Wormer

        Ah, you may have stumbled upon the answer to a really old question (discussed here before) about this…

        1 Reply Last reply Reply Quote 0
        • Alan KilbornA Offline
          Alan Kilborn @Paul Wormer
          last edited by

          @Paul-Wormer

          And it seems like you were one of the people questioning this before: https://community.notepad-plus-plus.org/topic/23791/

          Paul WormerP 1 Reply Last reply Reply Quote 2
          • Paul WormerP Offline
            Paul Wormer @Alan Kilborn
            last edited by

            @Alan-Kilborn I’m deeply embarrassed, not yet a year ago almost the same question! I must see dr. Alzheimer.

            Alan KilbornA 1 Reply Last reply Reply Quote 2
            • Alan KilbornA Offline
              Alan Kilborn @Paul Wormer
              last edited by

              @Paul-Wormer

              No worries; the refreshing of the topic has made me put forth a potential fix; see https://github.com/notepad-plus-plus/notepad-plus-plus/pull/14255

              I think back at the times of original discussion, I wasn’t brave enough to attempt a code change to Notepad++. :-)

              1 Reply Last reply Reply Quote 0
              • Alan KilbornA Alan Kilborn referenced this topic on
              • Alan KilbornA Offline
                Alan Kilborn
                last edited by

                Will be fixed with the release of Notepad++ 8.5.9!

                1 Reply Last reply Reply Quote 1

                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