C# Class _3PA.Plug

显示文件 Open project: jcaillon/3P

Public Methods

Method Description
OnNppNotification ( SCNotification nc ) : void

handles the notifications send by npp and scintilla to the plugin

SetHooks ( ) : void

Bascially, this method allows us to hook onto: - Keyboard (on key down only) messages -> OnKeyDown - Mouse messages -> OnMouseMessage It either install the hooks (if they are not installed yet) or just refresh the keyboard keys / mouse messages to watch, so it can be called several times safely

Private Methods

Method Description
UninstallHooks ( ) : void

Method Details

OnNppNotification() public static method

handles the notifications send by npp and scintilla to the plugin
public static OnNppNotification ( SCNotification nc ) : void
nc _3PA.Interop.SCNotification
return void

SetHooks() public static method

Bascially, this method allows us to hook onto: - Keyboard (on key down only) messages -> OnKeyDown - Mouse messages -> OnMouseMessage It either install the hooks (if they are not installed yet) or just refresh the keyboard keys / mouse messages to watch, so it can be called several times safely
public static SetHooks ( ) : void
return void