@mkupper said in Disable ASCII Control characters shortcuts?:
it may well not be at all easy for Notepad++ to have an Ignore unrecognized keyboard Ctrl codes setting.
Actually, it should be fairly easy.
And the script I linked to yesterday (and everyone since then has so far ignored) shows what would need to be done:
Prevent WM_CHAR codes for the control character range from reaching Scintilla, where they are processed by putting the corresponding character in the document.
By the way, people in the future will come read this thread, so it is best to post “correct” information.
This is not how to define a correct action tag to solve the problem; one example from above:
<Macro name="RemoveKey_Ctrl_Shift_X_CAN" Ctrl="yes" Alt="no" Shift="yes" Key="88"> <Action type="" message="" wParam="" lParam="" sParam="" /> </Macro>The correct equivalent would be:
<Macro name="RemoveKey_Ctrl_Shift_X_CAN" Ctrl="yes" Alt="no" Shift="no" Key="88"> <Action type="0" message="2172" wParam="0" lParam="0" sParam="" /> </Macro>Reference: https://npp-user-manual.org/docs/config-files/#macros:~:text=Attributes for the <Action> tag