diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/._G.lua | 4 | ||||
-rw-r--r-- | core/._m.lua | 2 | ||||
-rw-r--r-- | core/.buffer.lua | 4 | ||||
-rw-r--r-- | core/iface.lua | 2 |
4 files changed, 9 insertions, 3 deletions
diff --git a/core/._G.lua b/core/._G.lua index 2d78dc2e..1ee02455 100644 --- a/core/._G.lua +++ b/core/._G.lua @@ -55,8 +55,8 @@ function new_buffer() end -- Resets the Lua state by reloading all init scripts. -- Language-specific modules for opened files are NOT reloaded. Re-opening the -- files that use them will reload those modules. --- This function is useful for modifying init scripts (such as key_commands.lua) --- on the fly without having to restart Textadept. +-- This function is useful for modifying init scripts (such as keys.lua) on the +-- fly without having to restart Textadept. -- A global RESETTING variable is set to true when re-initing the Lua State. Any -- scripts that need to differentiate between startup and reset can utilize this -- variable. diff --git a/core/._m.lua b/core/._m.lua index 7cd677eb..d5f52a94 100644 --- a/core/._m.lua +++ b/core/._m.lua @@ -55,7 +55,7 @@ module('_m') -- are placed at the end of files, like `commands.lua` in language-specific -- modules. -- --- [key_commands]: ../modules/keys.html +-- [key_commands]: ../modules/_m.textadept.keys.html --- -- This module contains no functions. diff --git a/core/.buffer.lua b/core/.buffer.lua index 579c70f0..de553c2f 100644 --- a/core/.buffer.lua +++ b/core/.buffer.lua @@ -199,6 +199,8 @@ module('buffer') -- captured when its button is pressed. -- * `mouse_dwell_time`: The time in milliseconds the mouse must sit still to -- generate a mouse dwell event. +-- * `multi_paste`: Flag indicating whether or not pasted text goes into each +-- multiple selection. -- * `multiple_selection`: Flag indicating whether or not to enable multiple -- selection. -- * `overtype`: Flag indicating whether or not overtype mode is active. @@ -543,6 +545,8 @@ function buffer:get_property_expanded() function buffer:get_sel_text() --- Returns the name of the style associated with a style number. function buffer:get_style_name(style_num) +--- Returns the text matched by a tagged expression in a regexp search. +function buffer:get_tag(tag_num) --- Returns all text in the document and its length. function buffer:get_text() --- Sets the caret to the start of a line and ensure it is visible. diff --git a/core/iface.lua b/core/iface.lua index 2b9550d8..2d7e83de 100644 --- a/core/iface.lua +++ b/core/iface.lua @@ -580,6 +580,7 @@ constants = { --- -- Scintilla functions. +-- These are buffer functions. -- @class table -- @name functions functions = { @@ -853,6 +854,7 @@ functions = { --- -- Scintilla properties. +-- These are buffer fields. -- @class table -- @name properties properties = { |