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
"2469"(“SCI_SELECTIONDUPLICATE”) and to
When I look at Settings > Shortcut Mapper, I only find an association of
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++. :-)
Will be fixed with the release of Notepad++ 8.5.9!