shortcuts.xml
-
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 simultaneouslyctrl+Dto"2469"(“SCI_SELECTIONDUPLICATE”) and to"42010"(“IDM_EDIT_DUP_LINE”).When I look at Settings > Shortcut Mapper, I only find an association of
ctrl+Dwith “SCI_SELECTIONDUPLICATE”.In actual practice it seems that
ctrl+Dduplicates 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? -
Ah, you may have stumbled upon the answer to a really old question (discussed here before) about this…
-
And it seems like you were one of the people questioning this before: https://community.notepad-plus-plus.org/topic/23791/
-
@Alan-Kilborn I’m deeply embarrassed, not yet a year ago almost the same question! I must see dr. Alzheimer.
-
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++. :-)
-
A Alan Kilborn referenced this topic on
-
Will be fixed with the release of Notepad++ 8.5.9!
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