Home > Back-end >  Notepad, lazarus development plug-in (SCI_CLEARCMDKEY) to replace the original ways of preserving sh
Notepad, lazarus development plug-in (SCI_CLEARCMDKEY) to replace the original ways of preserving sh

Time:11-07

GetNPPPluginInstance. SendToNppScintilla (SCI_CLEARCMDKEY, [here] will not write);

Official document writing, use lazarus, don't use!

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 & lt; <16)

The original notepad + + CTRL + s shortcut to save, and I think this shortcut, perform their own code,

CodePudding user response:

Lazarus study too little, it is recommended that you study the DELPHI or c #,
The two software online tutorial will be a little more