hasthreads.blogg.se

How to use notepad++ for lua
How to use notepad++ for lua




Notepad:LaunchFindInFilesDlg(path, filter) Gets whether the tool bar is hidden or shown. Gets whether the tab bar is hidden or shown. Gets whether the status bar is hidden or shown. Gets whether the menu is hidden or shown. Gets whether the doc switcher is hidden or shown. Gets the position information of the provided buffer ID. Notepad:GetPosFromBufferID(BufferID, priorityView) Gets the directory of the Notepad++ application. Gets the number of files a the session file. Gets the file name (without extension) of the current document. Gets the full path of the provided buffer ID. Notepad:GetFullPathFromBufferID(BufferID) Gets the full path of the current document. Gets the file name at the cursor position. Gets the file name of the current document. Gets the file extension of the current document. Selects and returns the word at the cursor's position Gets the current document index within the view. Gets the current directory of the document. Gets the BufferID located at the given position. Notepad:GetBufferIDFromPos(position, view) Methods Notepad:ActivateDoc(view, index2Activate)Įnable or disable the file extension column in the doc switcher. Registers a Lua function for a shortcut key.Ĭontinuously calls a function at a set interval. Notepad.AddShortcut(name, shortcut, callback) Removes all registered Lua functions for a given event. Removes previously registered Lua function for a given event. Notepad.RemoveEventHandler(event, callback) Registers a Lua function to handle a given event.

how to use notepad++ for lua how to use notepad++ for lua

Looks up the symbolic name of a constant. Helper Methods Notepad.SendEditor(sci_const]) The global instance npp is used for application access. Most of the API messages and notifications have been made available, but more can be made available as needed. Provides access to the Notepad++ application.






How to use notepad++ for lua