求教:lazarus 开发notepad++插件(SCI_CLEARCMDKEY)替换原保存快捷键的方法
cnqsl 2019-11-30 11:44:15 GetNPPPluginInstance.SendToNppScintilla(SCI_CLEARCMDKEY, 【这里不会写】);
官方文档这样写的。用到lazarus里面,不会用了!
SCI_ASSIGNCMDKEY(int keyDefinition, int sciCommand)
SCI_CLEARCMDKEY(int keyDefinition)
SCI_CLEARALLCMDKEYS
SCI_NULL
keyDefinition
A key definition contains the key code in the low 16-bits and the key modifiers in the high 16-bits. To combine keyCode and keyMod set:
keyDefinition = keyCode + (keyMod << 16)
原notepad++ 有 ctrl+s 快捷键保存,,我想这个快捷键,执行自己的代码。