public NotepadPPGateway FileExit() { Win32.SendMessage(PluginBase.nppData._nppHandle, (uint)NppMsg.NPPM_MENUCOMMAND, Unused, NppMenuCmd.IDM_FILE_EXIT); return(this); }
public NotepadPPGateway SaveAllOpenedDocuments() { Win32.SendMessage(PluginBase.nppData._nppHandle, (uint)NppMsg.NPPM_SAVEALLFILES, Unused, Unused); return(this); }
public NotepadPPGateway ReloadFile(string file, bool showAlert) { Win32.SendMessage(PluginBase.nppData._nppHandle, (uint)NppMsg.NPPM_RELOADFILE, showAlert ? 1 : 0, file); return(this); }
private IntPtr Send(NppMsg command, IntPtr wParam, IntPtr lParam) { return(Win32.SendMessage(PluginBase.nppData._nppHandle, (uint)command, wParam, lParam)); }
public LangType GetCurrentLanguage() { Win32.SendMessage(PluginBase.nppData._nppHandle, (uint)NppMsg.NPPM_GETCURRENTLANGTYPE, Unused, out int language); return((LangType)language); }
public NotepadPPGateway SetCurrentLanguage(int language) { Win32.SendMessage(PluginBase.nppData._nppHandle, (uint)NppMsg.NPPM_SETCURRENTLANGTYPE, Unused, language); return(this); }