Namespace Npp.DotNet.Plugin
Core data types, definitions and utilities provided by the plugin interface.
Most of the classes defined here were extracted from NotepadPlusPlusPluginPack.Net or from NppCSharpPluginPack.
Classes
- NotepadPPGateway
Helpers for sending messages defined in NppMsg.
- PluginData
A container of static, globally visible data.
- PluginFuncArray
Encapsulates a plugin's functions as a managed collection of FuncItem items.
- ScintillaGateway
Primary interface to Notepad++/Scintilla.
See https://www.scintilla.org/ScintillaDoc.html for further details.
Structs
- ScNotificationHeader
Compatible with Windows' Win32.TagNMHDR.
- Win32.MenuItemInfo
Contains information about a menu item.
- Win32.ScrollInfo
Contains the scroll information of a scroll bar, or a window with a scroll bar.
- Win32.TagNMHDR
Holds message data sent with WM_NOTIFY.
Interfaces
- IDotNetPlugin
Provides managed wrappers around the core Notepad++ plugin APIs. Plugins can implement external lexers by extending this interface.
- IScintillaGateway
Primary interface to Notepad++/Scintilla.
See https://www.scintilla.org/ScintillaDoc.html for further details.
Enums
- ExternalLexerAutoIndentMode
Used with NPPM_GETEXTERNALLEXERAUTOINDENTMODE and NPPM_SETEXTERNALLEXERAUTOINDENTMODE.
- MacroStatus
Return value of NPPM_GETCURRENTMACROSTATUS.
- SciMsg
Definitions for Scintilla 5.5.7
- StatusBarSection
Enumerates the allowed values of the
whichPart
parameter of NPPM_SETSTATUSBAR
- ToolBarStatusType
Return value of NPPM_GETTOOLBARICONSETCHOICE.
- Win32.DlgResult
Possible return values of MsgBoxDialog(IntPtr, string, string, uint).
- Win32.MsgBox
Possible values of the
uType
parameter of MsgBoxDialog(IntPtr, string, string, uint).
- Win32.ScrollInfoBar
Possible values of the
nBar
parameter when calling GetScrollInfo(IntPtr, int, ref ScrollInfo).
- Win32.ScrollInfoMask
Possible values of fMask.
Delegates
- PluginFunc
The general type of a function defined by the plugin and callable by the host application. Delegates of this type are associated with a menu item by assigning them to the PFunc member of a FuncItem structure.