aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--modules/lua/api148
-rw-r--r--modules/lua/tags29
2 files changed, 92 insertions, 85 deletions
diff --git a/modules/lua/api b/modules/lua/api
index 0ee2e74e..7b88d9da 100644
--- a/modules/lua/api
+++ b/modules/lua/api
@@ -1,19 +1,19 @@
ANNOTATION_BOXED _SCINTILLA.constants.ANNOTATION_BOXED\n2
ANNOTATION_HIDDEN _SCINTILLA.constants.ANNOTATION_HIDDEN\n0
ANNOTATION_STANDARD _SCINTILLA.constants.ANNOTATION_STANDARD\n1
-APPLEEVENT_ODOC events.APPLEEVENT_ODOC (string)\nCalled when Mac OSX tells Textadept to open a document.\nArguments:\n\n* _`uri`_: The UTF-8-encoded URI to open.
+APPLEEVENT_ODOC events.APPLEEVENT_ODOC (string)\nEmitted when Mac OSX tells Textadept to open a document.\nArguments:\n\n* _`uri`_: The UTF-8-encoded URI to open.
AUTOINDENT _M.textadept.editing.AUTOINDENT (bool)\nMatch the indentation level of the previous line when inserting a new line.\nThe default value is `true`.
AUTOPAIR _M.textadept.editing.AUTOPAIR (bool)\nAutomatically close opening '(', '[', '{', '"', or '''\ncharacters.\nThe default value is `true`.\nAuto-paired characters are defined in the `char_matches`\ntable.
-AUTO_C_CHAR_DELETED events.AUTO_C_CHAR_DELETED (string)\nCalled when deleting a character while the autocompletion list is active.
-AUTO_C_RELEASE events.AUTO_C_RELEASE (string)\nCalled when canceling the autocompletion list.
-AUTO_C_SELECTION events.AUTO_C_SELECTION (string)\nCalled when selecting an item in the autocompletion list and before\ninserting the selection.\nAutomatic insertion can be cancelled by calling\n`buffer:auto_c_cancel()` before returning from the event handler.\nArguments:\n\n* _`text`_: The text of the selection.\n* _`position`_: The position in the buffer of the beginning of the\n autocompleted word.
+AUTO_C_CHAR_DELETED events.AUTO_C_CHAR_DELETED (string)\nEmitted when deleting a character while the autocompletion list is active.
+AUTO_C_RELEASE events.AUTO_C_RELEASE (string)\nEmitted when canceling the autocompletion list.
+AUTO_C_SELECTION events.AUTO_C_SELECTION (string)\nEmitted when selecting an item in the autocompletion list and before\ninserting the selection.\nAutomatic insertion can be cancelled by calling\n`buffer:auto_c_cancel()` before returning from the event handler.\nArguments:\n\n* _`text`_: The text of the selection.\n* _`position`_: The position in the buffer of the beginning of the\n autocompleted word.
B lpeg.B(patt)\nReturns a pattern that matches only if the input string at the current\nposition is preceded by `patt`. Pattern `patt` must match only strings with\nsome fixed length, and it cannot contain captures.\n\nLike the and predicate, this pattern never consumes any input, independently\nof success or failure.
-BUFFER_AFTER_SWITCH events.BUFFER_AFTER_SWITCH (string)\nCalled right after switching to another buffer.\nEmitted by `view:goto_buffer()`.
-BUFFER_BEFORE_SWITCH events.BUFFER_BEFORE_SWITCH (string)\nCalled right before switching to another buffer.\nEmitted by `view:goto_buffer()`.
-BUFFER_DELETED events.BUFFER_DELETED (string)\nCalled after deleting a buffer.\nEmitted by `buffer:delete()`.
-BUFFER_NEW events.BUFFER_NEW (string)\nCalled after creating a new buffer.\nEmitted on startup and by `new_buffer()`.
+BUFFER_AFTER_SWITCH events.BUFFER_AFTER_SWITCH (string)\nEmitted right after switching to another buffer.\nEmitted by `view:goto_buffer()`.
+BUFFER_BEFORE_SWITCH events.BUFFER_BEFORE_SWITCH (string)\nEmitted right before switching to another buffer.\nEmitted by `view:goto_buffer()`.
+BUFFER_DELETED events.BUFFER_DELETED (string)\nEmitted after deleting a buffer.\nEmitted by `buffer:delete()`.
+BUFFER_NEW events.BUFFER_NEW (string)\nEmitted after creating a new buffer.\nEmitted on startup and by `buffer.new()`.
C lpeg.C(patt)\nCreates a simple capture, which captures the substring of the subject that\nmatches `patt`. The captured value is a string. If `patt` has other captures,\ntheir values are returned after this one.
-CALL_TIP_CLICK events.CALL_TIP_CLICK (string)\nCalled when clicking on a calltip.\nArguments:\n\n* _`position`_: `1` if the up arrow was clicked, 2 if the down arrow was\n clicked, and 0 otherwise.
+CALL_TIP_CLICK events.CALL_TIP_CLICK (string)\nEmitted when clicking on a calltip.\nArguments:\n\n* _`position`_: `1` if the up arrow was clicked, 2 if the down arrow was\n clicked, and 0 otherwise.
CARETSTYLE_BLOCK _SCINTILLA.constants.CARETSTYLE_BLOCK\n2
CARETSTYLE_INVISIBLE _SCINTILLA.constants.CARETSTYLE_INVISIBLE\n0
CARETSTYLE_LINE _SCINTILLA.constants.CARETSTYLE_LINE\n1
@@ -21,15 +21,15 @@ CARET_EVEN _SCINTILLA.constants.CARET_EVEN\n8
CARET_JUMPS _SCINTILLA.constants.CARET_JUMPS\n16
CARET_SLOP _SCINTILLA.constants.CARET_SLOP\n1
CARET_STRICT _SCINTILLA.constants.CARET_STRICT\n4
-CHAR_ADDED events.CHAR_ADDED (string)\nCalled after adding an ordinary text character to the buffer.\nArguments:\n\n* _`ch`_: The text character byte.
+CHAR_ADDED events.CHAR_ADDED (string)\nEmitted after adding an ordinary text character to the buffer.\nArguments:\n\n* _`ch`_: The text character byte.
CLASS _M.textadept.adeptsense.CLASS (string)\nCtags kind for Adeptsense classes.
CLASS lexer.CLASS (string)\nThe token name for class tokens.
-CLEAR keys.CLEAR (string)\nThe string representing the key sequence that clears the current key chain.\nIt cannot be part of a key chain.\nThe default value is `'esc'` for the `Esc` (`⎋` on Mac OSX | `Esc` in\nncurses) key.
-COMMAND_ENTRY_COMMAND events.COMMAND_ENTRY_COMMAND (string)\nCalled to run the command entered into the Command Entry.\nIf any handler returns `true`, the Command Entry does not hide\nautomatically.\nArguments:\n\n* _`command`_: The command text.
-COMMAND_ENTRY_KEYPRESS events.COMMAND_ENTRY_KEYPRESS (string)\nCalled when pressing a key in the Command Entry.\nIf any handler returns `true`, the key is not inserted into the entry.\nArguments:\n\n* _`code`_: The numeric key code.\n* _`shift`_: The "Shift" modifier key is held down.\n* _`ctrl`_: The "Control"/"Command" modifier key is held down.\n* _`alt`_: The "Alt"/"Option" modifier key is held down.\n* _`meta`_: The "Control" modifier key on Mac OSX is held down.
+CLEAR keys.CLEAR (string)\nThe string representing the key sequence that clears the current key chain.\nIt cannot be part of a key chain.\nThe default value is `'esc'` for the `Esc` (`⎋` on Mac OSX | `Esc` in\ncurses) key.
+COMMAND_ENTRY_KEYPRESS events.COMMAND_ENTRY_KEYPRESS (string)\nEmitted when pressing a key in the Command Entry.\nIf any handler returns `true`, the key is not inserted into the entry.\nArguments:\n\n* _`code`_: The numeric key code.\n* _`shift`_: The "Shift" modifier key is held down.\n* _`ctrl`_: The "Control"/"Command" modifier key is held down.\n* _`alt`_: The "Alt"/"Option" modifier key is held down.\n* _`meta`_: The "Control" modifier key on Mac OSX is held down.
COMMENT lexer.COMMENT (string)\nThe token name for comment tokens.
-COMPILE_OUTPUT _M.textadept.run._G.events.COMPILE_OUTPUT (string)\nCalled after executing a language's compile command.\nBy default, compiler output is printed to the message buffer. To override\nthis behavior, connect to the event with an index of `1` and return `true`.\nArguments:\n\n* `lexer`: The lexer language name.\n* `output`: The string output from the command.
+COMPILE_OUTPUT _M.textadept.run._G.events.COMPILE_OUTPUT (string)\nEmitted after executing a language's compile command.\nBy default, compiler output is printed to the message buffer. To override\nthis behavior, connect to the event with an index of `1` and return `true`.\nArguments:\n\n* `lexer`: The lexer language name.\n* `output`: The string output from the command.
CONSTANT lexer.CONSTANT (string)\nThe token name for constant tokens.
+CURSES _G.CURSES (bool)\nIf Textadept is running in the terminal, this flag is `true`.\nCurses feature incompatibilities are listed in the Appendix.
Carg lpeg.Carg(n)\nCreates an argument capture. This pattern matches the empty string and\nproduces the value given as the nth extra argument given in the call to\n`lpeg.match`.
Cb lpeg.Cb(name)\nCreates a back capture. This pattern matches the empty string and produces\nthe values produced by the most recent group capture named `name`.\n\nMost recent means the last complete outermost group capture with the given\nname. A Complete capture means that the entire pattern corresponding to the\ncapture has matched. An Outermost capture means that the capture is not\ninside another complete capture.
Cc lpeg.Cc([value, ...])\nCreates a constant capture. This pattern matches the empty string and\nproduces all given values as its captured values.
@@ -40,25 +40,25 @@ Cp lpeg.Cp()\nCreates a position capture. It matches the empty string and captur
Cs lpeg.Cs(patt)\nCreates a substitution capture, which captures the substring of the subject\nthat matches `patt`, with substitutions. For any capture inside `patt` with a\nvalue, the substring that matched the capture is replaced by the capture\nvalue (which should be a string). The final captured value is the string\nresulting from all replacements.
Ct lpeg.Ct(patt)\nCreates a table capture. This capture creates a table and puts all values\nfrom all anonymous captures made by `patt` inside this table in successive\ninteger keys, starting at 1. Moreover, for each named capture group created\nby `patt`, the first value of the group is put into the table with the group\nname as its key. The captured value is only the table.
DEFAULT lexer.DEFAULT (string)\nThe token name for default tokens.
-DEFAULT_SESSION _M.textadept.session.DEFAULT_SESSION (string)\nThe path to the default session file, *`_USERHOME`/session*, or\n*`_USERHOME`/session_term* if `_G.NCURSES` is `true`.
-DOUBLE_CLICK events.DOUBLE_CLICK (string)\nCalled after double-clicking the mouse button.\nArguments:\n\n* _`position`_: The position in the buffer double-clicked.\n* _`line`_: The line number double-clicked.\n* _`modifiers`_: A bit-mask of modifier keys held down. Modifiers are\n `_SCINTILLA.constants.SCMOD_ALT`, `_SCINTILLA.constants.SCMOD_CTRL`,\n `_SCINTILLA.constants.SCMOD_SHIFT`, and\n `_SCINTILLA.constants.SCMOD_META`.\n Note: If you set `buffer.rectangular_selection_modifier` to\n `_SCINTILLA.constants.SCMOD_CTRL`, the "Control" modifier is reported as\n *both* "Control" and "Alt" due to a Scintilla limitation with GTK+.
-DWELL_END events.DWELL_END (string)\nCalled after a `DWELL_START` when the mouse moves, a key is pressed, etc.\nArguments:\n\n* _`position`_: The position in the buffer closest to *x* and *y*.\n* _`x`_: The x-coordinate of the mouse in the view.\n* _`y`_: The y-coordinate of the mouse in the view.
-DWELL_START events.DWELL_START (string)\nCalled after keeping the mouse stationary for the dwell period\nArguments:\n\n* _`position`_: The position in the buffer closest to *x* and *y*.\n* _`x`_: The x-coordinate of the mouse in the view.\n* _`y`_: The y-coordinate of the mouse in the view.
+DEFAULT_SESSION _M.textadept.session.DEFAULT_SESSION (string)\nThe path to the default session file, *`_USERHOME`/session*, or\n*`_USERHOME`/session_term* if `_G.CURSES` is `true`.
+DOUBLE_CLICK events.DOUBLE_CLICK (string)\nEmitted after double-clicking the mouse button.\nArguments:\n\n* _`position`_: The position in the buffer double-clicked.\n* _`line`_: The line number double-clicked.\n* _`modifiers`_: A bit-mask of modifier keys held down. Modifiers are\n `_SCINTILLA.constants.SCMOD_ALT`, `_SCINTILLA.constants.SCMOD_CTRL`,\n `_SCINTILLA.constants.SCMOD_SHIFT`, and\n `_SCINTILLA.constants.SCMOD_META`.\n Note: If you set `buffer.rectangular_selection_modifier` to\n `_SCINTILLA.constants.SCMOD_CTRL`, the "Control" modifier is reported as\n *both* "Control" and "Alt" due to a Scintilla limitation with GTK+.
+DWELL_END events.DWELL_END (string)\nEmitted after a `DWELL_START` when the mouse moves, a key is pressed, etc.\nArguments:\n\n* _`position`_: The position in the buffer closest to *x* and *y*.\n* _`x`_: The x-coordinate of the mouse in the view.\n* _`y`_: The y-coordinate of the mouse in the view.
+DWELL_START events.DWELL_START (string)\nEmitted after keeping the mouse stationary for the dwell period\nArguments:\n\n* _`position`_: The position in the buffer closest to *x* and *y*.\n* _`x`_: The x-coordinate of the mouse in the view.\n* _`y`_: The y-coordinate of the mouse in the view.
EDGE_BACKGROUND _SCINTILLA.constants.EDGE_BACKGROUND\n2
EDGE_LINE _SCINTILLA.constants.EDGE_LINE\n1
EDGE_NONE _SCINTILLA.constants.EDGE_NONE\n0
-ERROR events.ERROR (string)\nCalled when an error occurs.\nArguments:\n\n* _`text`_: The error text.
+ERROR events.ERROR (string)\nEmitted when an error occurs.\nArguments:\n\n* _`text`_: The error text.
ERROR lexer.ERROR (string)\nThe token name for error tokens.
FIELD _M.textadept.adeptsense.FIELD (string)\nCtags kind for Adeptsense fields.
FIELDS _M.textadept.adeptsense.FIELDS (string)\nXPM image for Adeptsense fields.
-FILE_AFTER_SAVE io._G.events.FILE_AFTER_SAVE (string)\nCalled right after saving a file to disk.\nEmitted by `buffer:save()`.\nArguments:\n\n* _`filename`_: The UTF-8-encoded filename.
-FILE_BEFORE_SAVE io._G.events.FILE_BEFORE_SAVE (string)\nCalled right before saving a file to disk.\nEmitted by `buffer:save()`.\nArguments:\n\n* _`filename`_: The UTF-8-encoded filename.
-FILE_OPENED io._G.events.FILE_OPENED (string)\nCalled when opening a file in a new buffer.\nEmitted by `open_file()`.\nArguments:\n\n* _`filename`_: The UTF-8-encoded filename.
-FILE_SAVED_AS io._G.events.FILE_SAVED_AS (string)\nCalled after saving a file under a different filename.\nEmitted by `buffer:save_as()`.\nArguments:\n\n* _`filename`_: The UTF-8-encoded filename.
+FILE_AFTER_SAVE io._G.events.FILE_AFTER_SAVE (string)\nEmitted right after saving a file to disk.\nEmitted by `buffer:save()`.\nArguments:\n\n* _`filename`_: The UTF-8-encoded filename.
+FILE_BEFORE_SAVE io._G.events.FILE_BEFORE_SAVE (string)\nEmitted right before saving a file to disk.\nEmitted by `buffer:save()`.\nArguments:\n\n* _`filename`_: The UTF-8-encoded filename.
+FILE_OPENED io._G.events.FILE_OPENED (string)\nEmitted when opening a file in a new buffer.\nEmitted by `open_file()`.\nArguments:\n\n* _`filename`_: The UTF-8-encoded filename.
+FILE_SAVED_AS io._G.events.FILE_SAVED_AS (string)\nEmitted after saving a file under a different filename.\nEmitted by `buffer:save_as()`.\nArguments:\n\n* _`filename`_: The UTF-8-encoded filename.
FILTER gui.find.FILTER (table)\nTable of Lua patterns matching files and folders to exclude when finding in\nfiles.\nEach filter string is a pattern that matches filenames to exclude, with\npatterns matching folders to exclude listed in a `folders` sub-table.\nPatterns starting with '!' exclude files and folders that do not match the\npattern that follows. Use a table of raw file extensions assigned to an\n`extensions` key for fast filtering by extension. All strings must be encoded\nin `_G._CHARSET`, not UTF-8.\nThe default value is `lfs.FILTER`, a filter for common binary file extensions\nand version control folders.\n@see find_in_files
FILTER lfs.FILTER (table)\nFilter table containing common binary file extensions and version control\nfolders to exclude when iterating over files and directories using\n`dir_foreach` when its `exclude_FILTER` argument is `false`.\n@see dir_foreach
-FIND events.FIND (string)\nCalled to find text via the Find dialog box.\nArguments:\n\n* _`text`_: The text to search for.\n* _`next`_: Whether or not to search forward.
-FIND_WRAPPED gui.find._G.events.FIND_WRAPPED (string)\nCalled when a search for text wraps, either from bottom to top when\nsearching for a next occurrence, or from top to bottom when searching for a\nprevious occurrence.\nThis is useful for implementing a more visual or audible notice when a\nsearch wraps in addition to the statusbar message.
+FIND events.FIND (string)\nEmitted to find text via the Find dialog box.\nArguments:\n\n* _`text`_: The text to search for.\n* _`next`_: Whether or not to search forward.
+FIND_WRAPPED gui.find._G.events.FIND_WRAPPED (string)\nEmitted when a search for text wraps, either from bottom to top when\nsearching for a next occurrence, or from top to bottom when searching for a\nprevious occurrence.\nThis is useful for implementing a more visual or audible notice when a\nsearch wraps in addition to the statusbar message.
FOLD_BASE lexer.FOLD_BASE (number)\nThe initial (root) fold level.
FOLD_BLANK lexer.FOLD_BLANK (number)\nFlag indicating that the line is blank.
FOLD_HEADER lexer.FOLD_HEADER (number)\nFlag indicating the line is fold point.
@@ -66,15 +66,15 @@ FUNCTION _M.textadept.adeptsense.FUNCTION (string)\nCtags kind for Adeptsense fu
FUNCTION lexer.FUNCTION (string)\nThe token name for function tokens.
FUNCTIONS _M.textadept.adeptsense.FUNCTIONS (string)\nXPM image for Adeptsense functions.
HIGHLIGHT_BRACES _M.textadept.editing.HIGHLIGHT_BRACES (bool)\nHighlight matching brace characters like "()[]{}".\nThe default value is `true`.\nMatching braces are defined in the `braces` table.
-HOTSPOT_CLICK events.HOTSPOT_CLICK (string)\nCalled when clicking on text that is in a style with the hotspot attribute\nset.\nArguments:\n\n* _`position`_: The position in the buffer clicked.\n* _`modifiers`_: A bit-mask of modifier keys held down. Modifiers are\n `_SCINTILLA.constants.SCMOD_ALT`, `_SCINTILLA.constants.SCMOD_CTRL`,\n `_SCINTILLA.constants.SCMOD_SHIFT`, and\n `_SCINTILLA.constants.SCMOD_META`.\n Note: If you set `buffer.rectangular_selection_modifier` to\n `_SCINTILLA.constants.SCMOD_CTRL`, the "Control" modifier is reported as\n *both* "Control" and "Alt" due to a Scintilla limitation with GTK+.
-HOTSPOT_DOUBLE_CLICK events.HOTSPOT_DOUBLE_CLICK (string)\nCalled when double-clicking on text that is in a style with the hotspot\nattribute set.\nArguments:\n\n* _`position`_: The position in the buffer double-clicked.\n* _`modifiers`_: A bit-mask of modifier keys held down. Modifiers are\n `_SCINTILLA.constants.SCMOD_ALT`, `_SCINTILLA.constants.SCMOD_CTRL`,\n `_SCINTILLA.constants.SCMOD_SHIFT`, and\n `_SCINTILLA.constants.SCMOD_META`.\n Note: If you set `buffer.rectangular_selection_modifier` to\n `_SCINTILLA.constants.SCMOD_CTRL`, the "Control" modifier is reported as\n *both* "Control" and "Alt" due to a Scintilla limitation with GTK+.
-HOTSPOT_RELEASE_CLICK events.HOTSPOT_RELEASE_CLICK (string)\nCalled after releasing the mouse after clicking on text that was in a style\nwith the hotspot attribute set.\nArguments:\n\n* _`position`_: The position in the buffer unclicked.
+HOTSPOT_CLICK events.HOTSPOT_CLICK (string)\nEmitted when clicking on text that is in a style with the hotspot attribute\nset.\nArguments:\n\n* _`position`_: The position in the buffer clicked.\n* _`modifiers`_: A bit-mask of modifier keys held down. Modifiers are\n `_SCINTILLA.constants.SCMOD_ALT`, `_SCINTILLA.constants.SCMOD_CTRL`,\n `_SCINTILLA.constants.SCMOD_SHIFT`, and\n `_SCINTILLA.constants.SCMOD_META`.\n Note: If you set `buffer.rectangular_selection_modifier` to\n `_SCINTILLA.constants.SCMOD_CTRL`, the "Control" modifier is reported as\n *both* "Control" and "Alt" due to a Scintilla limitation with GTK+.
+HOTSPOT_DOUBLE_CLICK events.HOTSPOT_DOUBLE_CLICK (string)\nEmitted when double-clicking on text that is in a style with the hotspot\nattribute set.\nArguments:\n\n* _`position`_: The position in the buffer double-clicked.\n* _`modifiers`_: A bit-mask of modifier keys held down. Modifiers are\n `_SCINTILLA.constants.SCMOD_ALT`, `_SCINTILLA.constants.SCMOD_CTRL`,\n `_SCINTILLA.constants.SCMOD_SHIFT`, and\n `_SCINTILLA.constants.SCMOD_META`.\n Note: If you set `buffer.rectangular_selection_modifier` to\n `_SCINTILLA.constants.SCMOD_CTRL`, the "Control" modifier is reported as\n *both* "Control" and "Alt" due to a Scintilla limitation with GTK+.
+HOTSPOT_RELEASE_CLICK events.HOTSPOT_RELEASE_CLICK (string)\nEmitted after releasing the mouse after clicking on text that was in a\nstyle with the hotspot attribute set.\nArguments:\n\n* _`position`_: The position in the buffer unclicked.
IDENTIFIER lexer.IDENTIFIER (string)\nThe token name for identifier tokens.
INDIC0_MASK _SCINTILLA.constants.INDIC0_MASK\n32
INDIC1_MASK _SCINTILLA.constants.INDIC1_MASK\n64
INDIC2_MASK _SCINTILLA.constants.INDIC2_MASK\n128
-INDICATOR_CLICK events.INDICATOR_CLICK (string)\nCalled when clicking the mouse on text that has an indicator.\nArguments:\n\n* _`position`_: The position in the buffer clicked.\n* _`modifiers`_: A bit-mask of modifier keys held down. Modifiers are\n `_SCINTILLA.constants.SCMOD_ALT`, `_SCINTILLA.constants.SCMOD_CTRL`,\n `_SCINTILLA.constants.SCMOD_SHIFT`, and\n `_SCINTILLA.constants.SCMOD_META`.\n Note: If you set `buffer.rectangular_selection_modifier` to\n `_SCINTILLA.constants.SCMOD_CTRL`, the "Control" modifier is reported as\n *both* "Control" and "Alt" due to a Scintilla limitation with GTK+.
-INDICATOR_RELEASE events.INDICATOR_RELEASE (string)\nCalled after releasing the mouse after clicking on text that had an\nindicator.\nArguments:\n\n* _`position`_: The position in the buffer unclicked.
+INDICATOR_CLICK events.INDICATOR_CLICK (string)\nEmitted when clicking the mouse on text that has an indicator.\nArguments:\n\n* _`position`_: The position in the buffer clicked.\n* _`modifiers`_: A bit-mask of modifier keys held down. Modifiers are\n `_SCINTILLA.constants.SCMOD_ALT`, `_SCINTILLA.constants.SCMOD_CTRL`,\n `_SCINTILLA.constants.SCMOD_SHIFT`, and\n `_SCINTILLA.constants.SCMOD_META`.\n Note: If you set `buffer.rectangular_selection_modifier` to\n `_SCINTILLA.constants.SCMOD_CTRL`, the "Control" modifier is reported as\n *both* "Control" and "Alt" due to a Scintilla limitation with GTK+.
+INDICATOR_RELEASE events.INDICATOR_RELEASE (string)\nEmitted after releasing the mouse after clicking on text that had an\nindicator.\nArguments:\n\n* _`position`_: The position in the buffer unclicked.
INDICS_MASK _SCINTILLA.constants.INDICS_MASK\n224
INDIC_BOX _SCINTILLA.constants.INDIC_BOX\n6
INDIC_CONTAINER _SCINTILLA.constants.INDIC_CONTAINER\n8
@@ -83,7 +83,6 @@ INDIC_DIAGONAL _SCINTILLA.constants.INDIC_DIAGONAL\n3
INDIC_DOTBOX _SCINTILLA.constants.INDIC_DOTBOX\n12
INDIC_DOTS _SCINTILLA.constants.INDIC_DOTS\n10
INDIC_HIDDEN _SCINTILLA.constants.INDIC_HIDDEN\n5
-INDIC_HIGHLIGHT_ALPHA _M.textadept.editing.INDIC_HIGHLIGHT_ALPHA (number)\nThe alpha value, ranging from `0` (transparent) to `255` (opaque) used for\nan indicator for the highlighted word.\nThe default value is `100`.
INDIC_HIGHLIGHT_BACK _M.textadept.editing.INDIC_HIGHLIGHT_BACK (number)\nThe color, in "0xBBGGRR" format, used for an indicator for the\nhighlighted word.
INDIC_MAX _SCINTILLA.constants.INDIC_MAX\n31
INDIC_PLAIN _SCINTILLA.constants.INDIC_PLAIN\n0
@@ -95,38 +94,38 @@ INDIC_STRAIGHTBOX _SCINTILLA.constants.INDIC_STRAIGHTBOX\n8
INDIC_STRIKE _SCINTILLA.constants.INDIC_STRIKE\n4
INDIC_TT _SCINTILLA.constants.INDIC_TT\n2
INVALID_POSITION _SCINTILLA.constants.INVALID_POSITION\n-1
-KEYPRESS events.KEYPRESS (string)\nCalled when pressing a key.\nIf any handler returns `true`, the key is not inserted into the buffer.\nArguments:\n\n* _`code`_: The numeric key code.\n* _`shift`_: The "Shift" modifier key is held down.\n* _`ctrl`_: The "Control"/"Command" modifier key is held down.\n* _`alt`_: The "Alt"/"Option" modifier key is held down.\n* _`meta`_: The "Control" modifier key on Mac OSX is held down.
+KEYPRESS events.KEYPRESS (string)\nEmitted when pressing a key.\nIf any handler returns `true`, the key is not inserted into the buffer.\nArguments:\n\n* _`code`_: The numeric key code.\n* _`shift`_: The "Shift" modifier key is held down.\n* _`ctrl`_: The "Control"/"Command" modifier key is held down.\n* _`alt`_: The "Alt"/"Option" modifier key is held down.\n* _`meta`_: The "Control" modifier key on Mac OSX is held down.
KEYSYMS keys.KEYSYMS (table)\nLookup table for string representations of key codes higher than 255.\nKey codes can be identified by temporarily uncommenting the `print()`\nstatements in *core/keys.lua*.
KEYWORD lexer.KEYWORD (string)\nThe token name for keyword tokens.
KEYWORDSET_MAX _SCINTILLA.constants.KEYWORDSET_MAX\n8
LABEL lexer.LABEL (string)\nThe token name for label tokens.
-LANGUAGE_MODULE_LOADED _M.textadept.mime_types._G.events.LANGUAGE_MODULE_LOADED (string)\nCalled after loading a language-specific module.\nThis is useful for overriding a language-specific module's key bindings\nor other properties since the module is not loaded when Textadept starts.\nArguments:\n\n* *`lang`*: The language lexer name.
-LANGUAGE_MODULE_PREFIX keys.LANGUAGE_MODULE_PREFIX (string)\nThe starting key of the key chain reserved for language-specific modules.\nThe default value is `'cl'` on platforms other than Mac OSX, `'ml'`\notherwise. Equivalent to `Ctrl+L` (`⌘L` on Mac OSX | `M-L` in ncurses).
-MARGIN_CLICK events.MARGIN_CLICK (string)\nCalled when clicking the mouse inside a margin.\nArguments:\n\n* _`margin`_: The margin number clicked.\n* _`position`_: The position of the start of the line in the buffer whose\n margin line was clicked.\n* _`modifiers`_: A bit-mask of modifier keys held down. Modifiers are\n `_SCINTILLA.constants.SCMOD_ALT`, `_SCINTILLA.constants.SCMOD_CTRL`,\n `_SCINTILLA.constants.SCMOD_SHIFT`, and\n `_SCINTILLA.constants.SCMOD_META`.\n Note: If you set `buffer.rectangular_selection_modifier` to\n `_SCINTILLA.constants.SCMOD_CTRL`, the "Control" modifier is reported as\n *both* "Control" and "Alt" due to a Scintilla limitation with GTK+.
+LANGUAGE_MODULE_LOADED _M.textadept.mime_types._G.events.LANGUAGE_MODULE_LOADED (string)\nEmitted after loading a language-specific module.\nThis is useful for overriding a language-specific module's key bindings\nor other properties since the module is not loaded when Textadept starts.\nArguments:\n\n* *`lang`*: The language lexer name.
+LANGUAGE_MODULE_PREFIX keys.LANGUAGE_MODULE_PREFIX (string)\nThe starting key of the key chain reserved for language-specific modules.\nThe default value is `'cl'` on platforms other than Mac OSX, `'ml'`\notherwise. Equivalent to `Ctrl+L` (`⌘L` on Mac OSX | `M-L` in curses).
+MARGIN_CLICK events.MARGIN_CLICK (string)\nEmitted when clicking the mouse inside a margin.\nArguments:\n\n* _`margin`_: The margin number clicked.\n* _`position`_: The position of the start of the line in the buffer whose\n margin line was clicked.\n* _`modifiers`_: A bit-mask of modifier keys held down. Modifiers are\n `_SCINTILLA.constants.SCMOD_ALT`, `_SCINTILLA.constants.SCMOD_CTRL`,\n `_SCINTILLA.constants.SCMOD_SHIFT`, and\n `_SCINTILLA.constants.SCMOD_META`.\n Note: If you set `buffer.rectangular_selection_modifier` to\n `_SCINTILLA.constants.SCMOD_CTRL`, the "Control" modifier is reported as\n *both* "Control" and "Alt" due to a Scintilla limitation with GTK+.
MARKER_MAX _SCINTILLA.constants.MARKER_MAX\n31
MARK_BOOKMARK_COLOR _M.textadept.bookmarks.MARK_BOOKMARK_COLOR (number)\nThe color, in "0xBBGGRR" format, used for a bookmarked line.
-MARK_HIGHLIGHT_BACK _M.textadept.editing.MARK_HIGHLIGHT_BACK (number)\nThe background color, in "0xBBGGRR" format, used for a line containing the\nhighlighted word.
+MARK_ERROR_BACK _M.textadept.run.MARK_ERROR_BACK (number)\nThe background color, in "0xBBGGRR" format, used for a line containing a\nrecognized run or compile error.
MAX_RECENT_FILES _M.textadept.session.MAX_RECENT_FILES (number)\nThe maximum number of recent files to save to the session.\nRecent files are stored in `io.recent_files`.\nThe default value is `10`.
-MENU_CLICKED events.MENU_CLICKED (string)\nCalled after selecting a menu item.\nArguments:\n\n* _`menu_id`_: The numeric ID of the menu item set in `gui.menu()`.
-NCURSES _G.NCURSES (bool)\nIf Textadept is running in the terminal, this flag is `true`.\nncurses feature incompatibilities are listed in the Appendix.
+MENU_CLICKED events.MENU_CLICKED (string)\nEmitted after selecting a menu item.\nArguments:\n\n* _`menu_id`_: The numeric ID of the menu item set in `gui.menu()`.
+MODE keys.MODE (string)\nThe current key mode.\nWhen non-`nil`, all key bindings defined outside of `keys[MODE]` are\nignored.\nThe default value is `nil`.
NUMBER lexer.NUMBER (string)\nThe token name for number tokens.
OPERATOR lexer.OPERATOR (string)\nThe token name for operator tokens.
OSX _G.OSX (bool)\nIf Textadept is running on Mac OSX, this flag is `true`.
P lpeg.P(value)\nConverts the given value into a proper pattern, according to the following\nrules:\n * If the argument is a pattern, it is returned unmodified.\n * If the argument is a string, it is translated to a pattern that matches\n the string literally.\n * If the argument is a non-negative number n, the result is a pattern that\n matches exactly n characters.\n * If the argument is a negative number -n, the result is a pattern that\n succeeds only if the input string has less than n characters left:\n `lpeg.P(-n)` is equivalent to `-lpeg.P(n)` (see the unary minus\n operation).\n * If the argument is a boolean, the result is a pattern that always\n succeeds or always fails (according to the boolean value), without\n consuming any input.\n * If the argument is a table, it is interpreted as a grammar (see\n Grammars).\n * If the argument is a function, returns a pattern equivalent to a\n match-time capture over the empty string.
PREPROCESSOR lexer.PREPROCESSOR (string)\nThe token name for preprocessor tokens.
-QUIT events.QUIT (string)\nCalled when quitting Textadept.\nWhen connecting to this event, connect with an index of 1 or the handler\nwill be ignored.\nEmitted by `quit()`.
+QUIT events.QUIT (string)\nEmitted when quitting Textadept.\nWhen connecting to this event, connect with an index of 1 or the handler\nwill be ignored.\nEmitted by `quit()`.
R lpeg.R({range})\nReturns a pattern that matches any single character belonging to one of the\ngiven ranges. Each `range` is a string xy of length 2, representing all\ncharacters with code between the codes of x and y (both inclusive).\n\nAs an example, the pattern `lpeg.R("09")` matches any digit, and\n`lpeg.R("az", "AZ")` matches any ASCII letter.
REGEX lexer.REGEX (string)\nThe token name for regex tokens.
-REPLACE events.REPLACE (string)\nCalled to replace selected (found) text.\nArguments:\n\n* _`text`_: The text to replace the selected text with.
-REPLACE_ALL events.REPLACE_ALL (string)\nCalled to replace all occurrences of found text.\nArguments:\n\n* _`find_text`_: The text to search for.\n* _`repl_text`_: The text to replace found text with.
+REPLACE events.REPLACE (string)\nEmitted to replace selected (found) text.\nArguments:\n\n* _`text`_: The text to replace the selected text with.
+REPLACE_ALL events.REPLACE_ALL (string)\nEmitted to replace all occurrences of found text.\nArguments:\n\n* _`find_text`_: The text to search for.\n* _`repl_text`_: The text to replace found text with.
RESETTING _G.RESETTING (bool)\nIf `reset()` has been called, this flag is `true` while the Lua\nstate is being re-initialized.
-RESET_AFTER events.RESET_AFTER (string)\nCalled after resetting the Lua state.\nEmitted by `reset()`.
-RESET_BEFORE events.RESET_BEFORE (string)\nCalled before resetting the Lua state.\nEmitted by `reset()`.
-RUN_OUTPUT _M.textadept.run._G.events.RUN_OUTPUT (string)\nCalled after executing a language's run command.\nBy default, output is printed to the message buffer. To override this\nbehavior, connect to the event with an index of `1` and return `true`.\nArguments:\n\n* `lexer`: The lexer language name.\n* `output`: The string output from the command.
+RESET_AFTER events.RESET_AFTER (string)\nEmitted after resetting the Lua state.\nEmitted by `reset()`.
+RESET_BEFORE events.RESET_BEFORE (string)\nEmitted before resetting the Lua state.\nEmitted by `reset()`.
+RUN_OUTPUT _M.textadept.run._G.events.RUN_OUTPUT (string)\nEmitted after executing a language's run command.\nBy default, output is printed to the message buffer. To override this\nbehavior, connect to the event with an index of `1` and return `true`.\nArguments:\n\n* `lexer`: The lexer language name.\n* `output`: The string output from the command.
S lpeg.S(string)\nReturns a pattern that matches any single character that appears in the given\nstring. (The S stands for Set.)\n\nAs an example, the pattern `lpeg.S("+-*/")` matches any arithmetic operator.\n\nNote that, if `s` is a character (that is, a string of length 1), then\n`lpeg.P(s)` is equivalent to `lpeg.S(s)` which is equivalent to\n`lpeg.R(s..s)`. Note also that both `lpeg.S("")` and `lpeg.R()` are patterns\nthat always fail.
-SAVE_ON_QUIT _M.textadept.session.SAVE_ON_QUIT (bool)\nSave the session when quitting.\nThe default value is `true`, but is disabled when passing the command line\nswitch `-n` or `--nosession` to Textadept.
-SAVE_POINT_LEFT events.SAVE_POINT_LEFT (string)\nCalled after leaving a save point.
-SAVE_POINT_REACHED events.SAVE_POINT_REACHED (string)\nCalled after reaching a save point.
+SAVE_ON_QUIT _M.textadept.session.SAVE_ON_QUIT (bool)\nSave the session when quitting.\nThe session file saved is always `DEFAULT_SESSION`, even if a different\nsession was loaded with `load()`.\nThe default value is `true`, but is disabled when passing the command line\nswitch `-n` or `--nosession` to Textadept.
+SAVE_POINT_LEFT events.SAVE_POINT_LEFT (string)\nEmitted after leaving a save point.
+SAVE_POINT_REACHED events.SAVE_POINT_REACHED (string)\nEmitted after reaching a save point.
SCEN_CHANGE _SCINTILLA.constants.SCEN_CHANGE\n768
SCEN_KILLFOCUS _SCINTILLA.constants.SCEN_KILLFOCUS\n256
SCEN_SETFOCUS _SCINTILLA.constants.SCEN_SETFOCUS\n512
@@ -156,6 +155,7 @@ SCI_AUTOCGETDROPRESTOFWORD _SCINTILLA.constants.SCI_AUTOCGETDROPRESTOFWORD\n2271
SCI_AUTOCGETIGNORECASE _SCINTILLA.constants.SCI_AUTOCGETIGNORECASE\n2116
SCI_AUTOCGETMAXHEIGHT _SCINTILLA.constants.SCI_AUTOCGETMAXHEIGHT\n2211
SCI_AUTOCGETMAXWIDTH _SCINTILLA.constants.SCI_AUTOCGETMAXWIDTH\n2209
+SCI_AUTOCGETORDER _SCINTILLA.constants.SCI_AUTOCGETORDER\n2661
SCI_AUTOCGETSEPARATOR _SCINTILLA.constants.SCI_AUTOCGETSEPARATOR\n2107
SCI_AUTOCGETTYPESEPARATOR _SCINTILLA.constants.SCI_AUTOCGETTYPESEPARATOR\n2285
SCI_AUTOCSETAUTOHIDE _SCINTILLA.constants.SCI_AUTOCSETAUTOHIDE\n2118
@@ -167,6 +167,7 @@ SCI_AUTOCSETFILLUPS _SCINTILLA.constants.SCI_AUTOCSETFILLUPS\n2112
SCI_AUTOCSETIGNORECASE _SCINTILLA.constants.SCI_AUTOCSETIGNORECASE\n2115
SCI_AUTOCSETMAXHEIGHT _SCINTILLA.constants.SCI_AUTOCSETMAXHEIGHT\n2210
SCI_AUTOCSETMAXWIDTH _SCINTILLA.constants.SCI_AUTOCSETMAXWIDTH\n2208
+SCI_AUTOCSETORDER _SCINTILLA.constants.SCI_AUTOCSETORDER\n2660
SCI_AUTOCSETSEPARATOR _SCINTILLA.constants.SCI_AUTOCSETSEPARATOR\n2106
SCI_AUTOCSETTYPESEPARATOR _SCINTILLA.constants.SCI_AUTOCSETTYPESEPARATOR\n2286
SCI_CALLTIPSETBACK _SCINTILLA.constants.SCI_CALLTIPSETBACK\n2205
@@ -696,6 +697,9 @@ SC_MULTILINEUNDOREDO _SCINTILLA.constants.SC_MULTILINEUNDOREDO\n4096
SC_MULTIPASTE_EACH _SCINTILLA.constants.SC_MULTIPASTE_EACH\n1
SC_MULTIPASTE_ONCE _SCINTILLA.constants.SC_MULTIPASTE_ONCE\n0
SC_MULTISTEPUNDOREDO _SCINTILLA.constants.SC_MULTISTEPUNDOREDO\n128
+SC_ORDER_CUSTOM _SCINTILLA.constants.SC_ORDER_CUSTOM\n2
+SC_ORDER_PERFORMSORT _SCINTILLA.constants.SC_ORDER_PERFORMSORT\n1
+SC_ORDER_PRESORTED _SCINTILLA.constants.SC_ORDER_PRESORTED\n0
SC_PERFORMED_REDO _SCINTILLA.constants.SC_PERFORMED_REDO\n64
SC_PERFORMED_UNDO _SCINTILLA.constants.SC_PERFORMED_UNDO\n32
SC_PERFORMED_USER _SCINTILLA.constants.SC_PERFORMED_USER\n16
@@ -753,14 +757,14 @@ STYLE_MAX _SCINTILLA.constants.STYLE_MAX\n255
TYPE lexer.TYPE (string)\nThe token name for type tokens.
TYPEOVER_CHARS _M.textadept.editing.TYPEOVER_CHARS (bool)\nMove over the typeover character under the caret when typing it instead of\ninserting it.\nThe default value is `true`.\nTypeover characters are defined in the `typeover_chars`\ntable.
UNDO_MAY_COALESCE _SCINTILLA.constants.UNDO_MAY_COALESCE\n1
-UPDATE_UI events.UPDATE_UI (string)\nCalled when the text, styling, or selection range in the buffer changes.
-URI_DROPPED events.URI_DROPPED (string)\nCalled after dragging and dropping a URI such as a file name onto the view.\nArguments:\n\n* _`text`_: The UTF-8-encoded URI text.
-USER_LIST_SELECTION events.USER_LIST_SELECTION (string)\nCalled after selecting an item in a user list.\nArguments:\n\n* _`list_type`_: The *list_type* from `buffer:user_list_show()`.\n* _`text`_: The text of the selection.\n* _`position`_: The position in the buffer the list was displayed at.
+UPDATE_UI events.UPDATE_UI (string)\nEmitted when the text, styling, or selection range in the buffer changes.
+URI_DROPPED events.URI_DROPPED (string)\nEmitted after dragging and dropping a URI such as a file name onto the\nview.\nArguments:\n\n* _`text`_: The UTF-8-encoded URI text.
+USER_LIST_SELECTION events.USER_LIST_SELECTION (string)\nEmitted after selecting an item in a user list.\nArguments:\n\n* _`list_type`_: The *list_type* from `buffer:user_list_show()`.\n* _`text`_: The text of the selection.\n* _`position`_: The position in the buffer the list was displayed at.
V lpeg.V(v)\nThis operation creates a non-terminal (a variable) for a grammar. The created\nnon-terminal refers to the rule indexed by `v` in the enclosing grammar. (See\nGrammars for details.)
VARIABLE lexer.VARIABLE (string)\nThe token name for variable tokens.
-VIEW_AFTER_SWITCH events.VIEW_AFTER_SWITCH (string)\nCalled right after switching to another view.\nEmitted by `gui.goto_view()`.
-VIEW_BEFORE_SWITCH events.VIEW_BEFORE_SWITCH (string)\nCalled right before switching to another view.\nEmitted by `gui.goto_view()`.
-VIEW_NEW events.VIEW_NEW (string)\nCalled after creating a new view.\nEmitted on startup and by `view:split()`.
+VIEW_AFTER_SWITCH events.VIEW_AFTER_SWITCH (string)\nEmitted right after switching to another view.\nEmitted by `gui.goto_view()`.
+VIEW_BEFORE_SWITCH events.VIEW_BEFORE_SWITCH (string)\nEmitted right before switching to another view.\nEmitted by `gui.goto_view()`.
+VIEW_NEW events.VIEW_NEW (string)\nEmitted after creating a new view.\nEmitted on startup and by `view:split()`.
VISIBLE_SLOP _SCINTILLA.constants.VISIBLE_SLOP\n1
VISIBLE_STRICT _SCINTILLA.constants.VISIBLE_STRICT\n4
WHITESPACE lexer.WHITESPACE (string)\nThe token name for whitespace tokens.
@@ -788,7 +792,7 @@ _foldsymbols lexer.lexer._foldsymbols (table)\nA table of recognized fold points
_insert _M.textadept.snippets._insert(text)\nInserts snippet text *text* or the snippet associated with the trigger behind\nthe caret as a snippet, or goes to the next placeholder of the active\nsnippet, ultimately only returning `false` if no action was taken.\n@param text Optional snippet text to insert. If `nil`, attempts to insert a\n new snippet based on the trigger, the word behind caret, and the current\n lexer.\n@return `false` if no action was taken; `nil` otherwise.\n@see buffer.word_chars
_lexer lexer.lexer._lexer (table)\nFor child lexers embedding themselves into a parent lexer, this\n field should be set to the parent lexer object in order for the parent's\n rules to be used instead of the child's.
_previous _M.textadept.snippets._previous()\nGoes back to the previous snippet placeholder, reverting any changes from the\ncurrent one, but returns `false` only if no snippet is active.\n@return `false` if no snippet is active; `nil` otherwise.
-_print gui._print(buffer_type, ...)\nHelper function for printing messages to buffers.\nSplits the view and opens a new buffer for printing messages to. If the\nmessage buffer is already open in a view, the message is printed to that\nview. Otherwise the view is split and the message buffer is opened or\ndisplayed before being printed to.\n@param buffer_type String type of message buffer.\n@param ... Message strings.\n@usage gui._print(_L['[Error Buffer]'], error_message)\n@usage gui._print(_L['[Message Buffer]'], message)
+_print gui._print(buffer_type, ...)\nHelper function for printing messages to buffers.\nSplits the view and opens a new buffer for printing messages to. If the\nmessage buffer is already open in a view, the message is printed to that\nview. Otherwise the view is split and the message buffer is opened or\ndisplayed before being printed to.\n@param buffer_type String type of message buffer.\n@param ... Message strings.\n@usage gui._print(_L['[Message Buffer]'], message)
_rules lexer.lexer._rules (table)\nAn ordered list of rules for a lexer grammar.\n Each rule is a table containing an arbitrary rule name and the LPeg pattern\n associated with the rule. The order of rules is important as rules are\n matched sequentially. Ensure there is a fallback rule in case the lexer\n encounters any unexpected input, usually using the predefined `l.any_char`\n token.\n Child lexers should not use this table to access and/or modify their\n parent's rules and vice-versa. Use the `_RULES` table instead.
_select _M.textadept.snippets._select()\nPrompts the user for a snippet to insert from a list of global and\nlanguage-specific snippets.
_tokenstyles lexer.lexer._tokenstyles (table)\nA list of styles associated with non-predefined token\n names.\n Each token style is a table containing the name of the token (not a rule\n containing the token) and the style associated with the token. The order of\n token styles is not important.\n It is recommended to use predefined styles or color-agnostic styles derived\n from predefined styles to ensure compatibility with user color themes.
@@ -844,13 +848,14 @@ auto_c_fill_ups buffer.auto_c_fill_ups (string, Write-only)\nA set of characters
auto_c_ignore_case buffer.auto_c_ignore_case (bool)\nIgnore case when searching an autocompletion list for matches.\nThe default value is `false`.
auto_c_max_height buffer.auto_c_max_height (number)\nThe maximum number of items to show in autocompletion and user lists. The\ndefault value is `5`.
auto_c_max_width buffer.auto_c_max_width (number)\nThe maximum number of characters per row to show in autocompletion and user\nlists.\nThe default value is `0`, which automatically sizes the list to fit the\nlongest item.
+auto_c_order buffer.auto_c_order (number)\nThe order setting for autocompletion lists.\n\n* `_SCINTILLA.constants.SC_ORDER_PRESORTED` (0)\n Autocompletion lists passed to `buffer.auto_c_show` are\n in sorted alphabetical order.\n* `_SCINTILLA.constants.SC_ORDER_PERFORMSORT` (1)\n Scintilla should sort autocompletion lists passed to\n `buffer.auto_c_show`.\n* `_SCINTILLA.constants.SC_ORDER_CUSTOM` (2)\n Autocompletion lists passed to `buffer.auto_c_show` are\n sorted in a custom order.\n\nThe default value is `0`.
auto_c_pos_start buffer.auto_c_pos_start(buffer)\nReturns the position where autocompletion started at.\n@param buffer The global buffer.\n@return number
auto_c_select buffer.auto_c_select(buffer, string)\nSelects the first item in the autocompletion list that starts with *string*,\nconsidering case sensitiveness depending on `buffer.auto_c_ignore_case`.\n@param buffer The global buffer.\n@param string The item in the list to select.
auto_c_separator buffer.auto_c_separator (number)\nThe character byte that separates autocompletion list items.\nThe default value is `32` (' ').
-auto_c_show buffer.auto_c_show(buffer, len_entered, item_list)\nDisplays an autocompletion list from *item_list*, a sorted string whose items\nare delimited by `buffer.auto_c_separator` characters, using *len_entered*\nnumber of characters behind the caret as the prefix of the word to\nautocomplete.\n@param buffer The global buffer.\n@param len_entered The number of characters before the caret used to provide\n the context.\n@param item_list The sorted string of words to show, separated by\n `buffer.auto_c_separator` characters (initially spaces).
+auto_c_show buffer.auto_c_show(buffer, len_entered, item_list)\nDisplays an autocompletion list from *item_list*, a sorted string whose items\nare delimited by `buffer.auto_c_separator` characters, using *len_entered*\nnumber of characters behind the caret as the prefix of the word to\nautocomplete.\nThe sorted order of *item_list*, `buffer.auto_c_order`, must be already\ndefined.\n@param buffer The global buffer.\n@param len_entered The number of characters before the caret used to provide\n the context.\n@param item_list The sorted string of words to show, separated by\n `buffer.auto_c_separator` characters (initially spaces).
auto_c_stops buffer.auto_c_stops(buffer, chars)\nDefines *chars* as the set of characters that cancel autocompletion when\ntyped.\nThe default set is an empty string.\n@param buffer The global buffer.\n@param chars The string of characters that cancel autocompletion. This string\n is empty by default.
auto_c_type_separator buffer.auto_c_type_separator (number)\nThe character byte that separates autocompletion list items and their\nimage types.\nAutocompletion list items can display both an image and text. Register\nimages and their types using `buffer:register_image()`\nor `buffer:register_rgba_image()` before appending\nimage types to list items after type separator characters.\nThe default value is 63 ('?').
-autocomplete_word _M.textadept.editing.autocomplete_word(word_chars, default_words)\nDisplays an autocompletion list, built from the set of *default_words* and\nexisting words in the buffer, for the word behind the caret, returning `true`\nif completions were found.\n*word_chars* contains a set of word characters.\n@param word_chars String of characters considered to be part of words. Since\n this string is used in a Lua pattern character set, character classes and\n ranges may be used.\n@param default_words Optional list of words considered to be in the buffer,\n even if they are not. Words may contain registered images.\n@usage _M.textadept.editing.autocomplete_word('%w_')\n@return `true` if there were completions to show; `false` otherwise.
+autocomplete_word _M.textadept.editing.autocomplete_word(default_words)\nDisplays an autocompletion list, built from the set of *default_words* and\nexisting words in the buffer, for the word behind the caret, returning `true`\nif completions were found.\n@param default_words Optional list of words considered to be in the buffer,\n even if they are not. Words may contain registered images.\n@return `true` if there were completions to show; `false` otherwise.\n@see buffer.word_chars
back_space_un_indents buffer.back_space_un_indents (bool)\nUn-indent text when backspacing within indentation.\nThe default value is `false`.
back_tab buffer.back_tab(buffer)\nDedents the selected lines.\n@param buffer The global buffer.
band bit32.band(...)\nReturns the bitwise "and" of its operands.
@@ -939,12 +944,12 @@ comment_string _M.textadept.editing.comment_string (table)\nMap of lexer names t
compile _M.textadept.run.compile()\nCompiles the file based on its extension using the command from the\n`compile_command` table.\nEmits a `COMPILE_OUTPUT` event.\n@see compile_command\n@see _G.events
compile_command _M.textadept.run.compile_command (table)\nMap of file extensions (excluding the leading '.') to their associated\n"compile" shell command line strings or functions returning such strings.\nCommand line strings may have the following macros:\n\n + `%(filepath)`: The full path of the current file.\n + `%(filedir)`: The current file's directory path.\n + `%(filename)`: The name of the file, including its extension.\n + `%(filename_noext)`: The name of the file, excluding its extension.\n\nThis table is typically populated by language-specific modules.
complete _M.textadept.adeptsense.complete(sense, only_fields, only_functions)\nShows an autocompletion list of functions (unless *only_fields* is `true`)\nand fields (unless *only_funcs* is `true`) for the symbol behind the caret,\nreturning `true` on success.\n@param sense The Adeptsense returned by `adeptsense.new()`. If `nil`, uses\n the current language's Adeptsense (if it exists).\n@param only_fields Optional flag indicating whether or not to return a list\n of only fields. The default value is `false`.\n@param only_functions Optional flag indicating whether or not to return a\n list of only functions. The default value is `false`.\n@return `true` on success or `false`.\n@see get_symbol\n@see get_completions
+complete_lua gui.command_entry.complete_lua(code)\nShows a set of Lua code completions for string *code* or `entry_text`.\nCompletions are subject to an "abbreviated" environment where the `buffer`,\n`view`, and `gui` tables are also considered as globals.\n@param code The Lua code to complete. The default value is the value of\n `entry_text`.
completions _M.textadept.adeptsense.completions (table)\nA list containing lists of possible completions for known symbols.\nEach symbol key has a table value that contains a list of field completions\nwith a `fields` key and a list of functions completions with a `functions`\nkey. This table is normally populated by `load_ctags()`, but can also be set\nby the user.
concat table.concat(list [, sep [, i [, j]]])\nGiven a list where all elements are strings or numbers, returns the string\n`list[i]..sep..list[i+1] ··· sep..list[j]`. The default value for `sep` is\nthe empty string, the default for `i` is 1, and the default for `j` is\n`#list`. If `i` is greater than `j`, returns the empty string.
config package.config (string)\nA string describing some compile-time configurations for packages. This\nstring is a sequence of lines:\n The first line is the directory separator string. Default is '`\`' for\n Windows and '`/`' for all other systems.\n The second line is the character that separates templates in a path.\n Default is '`;`'.\n The third line is the string that marks the substitution points in a\n template. Default is '`?`'.\n The fourth line is a string that, in a path in Windows, is replaced by\n the executable's directory. Default is '`!`'.\n The fifth line is a mark to ignore all text before it when building the\n `luaopen_` function name. Default is '`-`'.
connect events.connect(event, f, index)\nAdds function *f* to the set of event handlers for *event* at position\n*index*, returning a handler ID for *f*. *event* is an arbitrary event name\nthat does not need to have been previously defined.\n@param event The string event name.\n@param f The Lua function to connect to *event*.\n@param index Optional index to insert the handler into.\n@usage events.connect('my_event', function(msg) gui.print(msg) end)\n@return handler ID.\n@see disconnect
constants _SCINTILLA.constants (table)\nMap of Scintilla constant names to their numeric values.
-context_menu _M.textadept.menu.context_menu (table)\nDefines the default right-click context menu.\nChanging this field does not change the context menu. Use `set_contextmenu()`\ninstead.\n@see set_contextmenu
context_menu gui.context_menu\nThe editor's context menu, a `gui.menu()`.\n This is a low-level field. You probably want to use the higher-level\n `_M.textadept.menu.set_contextmenu()`.
contracted_fold_next buffer.contracted_fold_next(buffer, line_start)\nReturns the line number of the next contracted fold header line starting at\n*line_start*, or `-1`.\n@param buffer The global buffer.\n@param line_start The line number in *buffer* to start at.\n@return number
control_char_symbol buffer.control_char_symbol (number)\nThe byte value of the character displayed in place of control characters,\ncharacters whose byte values are less than 32. Values less than 32 dispay\nASCII mnemonics instead.\nThe default value is `0`.
@@ -973,7 +978,7 @@ current_pos buffer.current_pos (number)\nThe position of the caret.\nWhen set, d
currentdir lfs.currentdir()\nReturns a string with the current working directory or nil plus an error\nstring.
cursor buffer.cursor (number)\nThe cursor type.\n\n* `_SCINTILLA.constants.SC_CURSORNORMAL` (-1)\n The normal cursor.\n* `_SCINTILLA.constants.SC_CURSORWAIT` (4)\n The wait cursor.\n\nThe default value is `-1`.
cut buffer.cut(buffer)\nCuts the selected text to the clipboard.\nMultiple selections are copied in order with no delimiters. Rectangular\nselections are copied from top to bottom with line ending delimiters. Virtual\nspace is not copied.\n@param buffer The global buffer.
-cwd _M.textadept.run.cwd (string, Read-only)\nThe working directory for the most recently executed compile or run\ncommand.
+cwd _M.textadept.run.cwd (string, Read-only)\nThe working directory for the most recently executed compile or run\ncommand.\nIt is used for going to error messages with relative file paths.
date os.date([format [, time]])\nReturns a string or a table containing date and time, formatted according\nto the given string `format`.\n\nIf the `time` argument is present, this is the time to be formatted\n(see the `os.time` function for a description of this value). Otherwise,\n`date` formats the current time.\n\nIf `format` starts with '`!`', then the date is formatted in Coordinated\nUniversal Time. After this optional character, if `format` is the string\n"`*t`", then `date` returns a table with the following fields: `year` (four\ndigits), `month` (1-12), `day` (1-31), `hour` (0-23), `min` (0-59), `sec`\n(0-61), `wday` (weekday, Sunday is 1), `yday` (day of the year), and `isdst`\n(daylight saving flag, a boolean). This last field may be absent if the\ninformation is not available.\n\nIf `format` is not "`*t`", then `date` returns the date as a string,\nformatted according to the same rules as the ANSI C function `strftime`.\n\nWhen called without arguments, `date` returns a reasonable date and time\nrepresentation that depends on the host system and on the current locale\n(that is, `os.date()` is equivalent to `os.date("%c")`).\n\nOn non-Posix systems, this function may be not thread safe because of its\nreliance on C function `gmtime` and C function `localtime`.
debug _G.debug (module)\nLua debug module.
debug debug.debug()\nEnters an interactive mode with the user, running each string that\nthe user enters. Using simple commands and other debug facilities,\nthe user can inspect global and local variables, change their values,\nevaluate expressions, and so on. A line containing only the word `cont`\nfinishes this function, so that the caller continues its execution.\n\nNote that commands for `debug.debug` are not lexically nested within any\nfunction and so have no direct access to local variables.
@@ -1021,12 +1026,14 @@ end_styled buffer.end_styled (number, Read-only)\nThe position of the last corre
end_undo_action buffer.end_undo_action(buffer)\nEnds a sequence of actions to undo or redo as a single action.\n@param buffer The global buffer.
ensure_visible buffer.ensure_visible(buffer, line)\nEnsures line number *line* is visible by expanding any fold header lines\nhiding it.\n@param buffer The global buffer.\n@param line The line number in *buffer* to ensure visible.
ensure_visible_enforce_policy buffer.ensure_visible_enforce_policy(buffer, line)\nEnsures line number *line* is visible by expanding any fold header lines\nhiding it and applies the vertical caret policy set with\n`buffer:set_visible_policy()`.\n@param buffer The global buffer.\n@param line The line number in *buffer* to ensure visible.
+enter_mode gui.command_entry.enter_mode(mode)\nOpens the command entry in key mode *mode*.\nKey bindings will be looked up in `keys[mode]` instead of `keys`. The `Esc`\n(`⎋` on Mac OSX | `Esc` in curses) key exits the current mode, closes the\ncommand entry, and restores normal key lookup.\nThis function is useful for binding keys to enter a command entry mode.\n@param mode The key mode to enter into, or `nil` to exit the current mode.\n@usage keys['ce'] = {gui.command_entry.enter_mode, 'command_entry'}\n@see _G.keys.MODE
entry_text gui.command_entry.entry_text (string)\nThe text in the entry.
eol_mode buffer.eol_mode (number)\nThe current end of line mode.\n\n* `_SCINTILLA.constants.SC_EOL_CRLF` (0)\n "CR+LF" ("\r\n").\n* `_SCINTILLA.constants.SC_EOL_CR` (1)\n "CR" ("\r").\n* `_SCINTILLA.constants.SC_EOL_LF` (2)\n "LF" ("\n").\n\nThe default value is `0` on Windows platforms, `2` otherwise.
error _G.error(message [, level])\nTerminates the last protected function called and returns `message`\nas the error message. Function `error` never returns.\n\nUsually, `error` adds some information about the error position at the\nbeginning of the message, if the message is a string. The `level` argument\nspecifies how to get the error position. With level 1 (the default), the\nerror position is where the `error` function was called. Level 2 points the\nerror to where the function that called `error` was called; and so on.\nPassing a level 0 avoids the addition of error position information to the\nmessage.
error_detail _M.textadept.run.error_detail (table)\nMap of lexer names to their error string details, tables containing the\nfollowing fields:\n\n + `pattern`: A Lua pattern that matches the language's error string,\n capturing the filename the error occurs in, the line number the error\n occurred on, and optionally the error message.\n + `filename`: The numeric index of the Lua capture containing the filename\n the error occurred in.\n + `line`: The numeric index of the Lua capture containing the line number\n the error occurred on.\n + `message`: (Optional) The numeric index of the Lua capture containing the\n error's message. An annotation will be displayed if a message was\n captured.\n\nWhen an error message is double-clicked, the user is taken to the point of\nerror.\nThis table is usually populated by language-specific modules.
events _G.events (module)\nTextadept's core event structure and handlers.
execute os.execute([command])\nThis function is equivalent to the ANSI C function `system`. It passes\n`command` to be executed by an operating system shell. Its first result is\n`true` if the command terminated successfully, or `nil` otherwise. After this\nfirst result the function returns a string and a number, as follows:\n "exit": the command terminated normally; the following number is the exit\n status of the command.\n "signal": the command was terminated by a signal; the following number is\n the signal that terminated the command.\n\nWhen called without a `command`, `os.execute` returns a boolean that is true\nif a shell is available.
+execute_lua gui.command_entry.execute_lua(code)\nExecutes string *code* as Lua code.\nCode is subject to an "abbreviated" environment where the `buffer`, `view`,\nand `gui` tables are also considered as globals.\n@param code The Lua code to execute.
exit os.exit([code [, close]])\nCalls the ANSI C function `exit` to terminate the host program. If `code` is\n`true`, the returned status is `EXIT_SUCCESS`; if `code` is `false`, the\nreturned status is `EXIT_FAILURE`; if `code` is a number, the returned status\nis this number. The default value for `code` is `true`.\n\nIf the optional second argument `close` is true, closes the Lua state before\nexiting.
exp math.exp(x)\nReturns the value *e^x*.
extend lexer.extend (pattern)\nA pattern matching any ASCII extended character (`0`..`255`).
@@ -1035,20 +1042,20 @@ extra_ascent buffer.extra_ascent (number)\nThe amount of pixel padding above lin
extra_descent buffer.extra_descent (number)\nThe amount of pixel padding below line text.\nThe default is `0`.
extract bit32.extract(n, field [, width])\nReturns the unsigned number formed by the bits `field` to `field + width - 1`\nfrom `n`. Bits are numbered from 0 (least significant) to 31 (most\nsignificant). All accessed bits must be in the range [0, 31].\n\nThe default for `width` is 1.
filename buffer.filename (string)\nThe UTF-8-encoded absolute path to the file associated with the buffer.\nUse `string.iconv()` and `_G._CHARSET` for charset conversions.
-filter_through _M.textadept.filter_through (module)\nFilters text through shell commands.
-filter_through _M.textadept.filter_through.filter_through()\nPrompts the user for a Linux, BSD, Mac OSX, or Windows shell command to\nfilter text through with standard input (stdin) as follows:\n\n1. If text is selected and spans multiple lines, all text on the lines\ncontaining the selection is used. However, if the end of the selection is at\nthe beginning of a line, only the EOL (end of line) characters from the\nprevious line are included as input. The rest of the line is excluded.\n2. If text is selected and spans a single line, only the selected text is\nused.\n3. If no text is selected, the entire buffer is used.\n\nThe input text is replaced with the standard output (stdout) of the command.
-filteredlist gui.filteredlist(title, columns, items, int_return, ...)\nConvenience function for `gui.dialog('filteredlist', ...)` with "Ok" and\n"Cancel" buttons that returns the text or index of the selection depending on\nthe boolean value of *int_return*.\n*title* is the title of the dialog,*columns* is a list of column names, and\n*items* is a list of items to show.\n@param title The title for the filtered list dialog.\n@param columns A column name or list of column names.\n@param items An item or list of items.\n@param int_return Optional flag indicating whether to return the integer\n index of the selected item in the filtered list or the string selected\n item. A `true` value is not compatible with the `'--select-multiple'`\n option. The default value is `false`.\n@param ... Optional additional parameters to pass to `gui.dialog()`.\n@usage gui.filteredlist('Title', 'Foo', {'Bar', 'Baz'})\n@usage gui.filteredlist('Title', {'Foo', 'Bar'}, {'a', 'b', 'c', 'd'}, false,\n '--output-column', '2')\n@return Either a string or integer on success; `nil` otherwise. In strings,\n multiple items are separated by newlines.\n@see dialog
+filter_through _M.textadept.editing.filter_through(cmd)\nPasses selected or all buffer text to string shell command *cmd* as standard\ninput (stdin) and replaces the input text with the command's standard output\n(stdout).\nStandard input is as follows:\n\n1. If text is selected and spans multiple lines, all text on the lines\ncontaining the selection is used. However, if the end of the selection is at\nthe beginning of a line, only the EOL (end of line) characters from the\nprevious line are included as input. The rest of the line is excluded.\n2. If text is selected and spans a single line, only the selected text is\nused.\n3. If no text is selected, the entire buffer is used.\n@param cmd The Linux, BSD, Mac OSX, or Windows shell command to filter text\n through.
+filteredlist gui.filteredlist(title, columns, items, int_return, ...)\nConvenience function for `gui.dialog('filteredlist', ...)` with "Ok" and\n"Cancel" buttons that returns the text or index of the selection depending on\nthe boolean value of *int_return*.\n*title* is the title of the dialog, *columns* is a list of column names, and\n*items* is a list of items to show.\n@param title The title for the filtered list dialog.\n@param columns A column name or list of column names.\n@param items An item or list of items.\n@param int_return Optional flag indicating whether to return the integer\n index of the selected item in the filtered list or the string selected\n item. A `true` value is not compatible with the `'--select-multiple'`\n option. The default value is `false`.\n@param ... Optional additional parameters to pass to `gui.dialog()`.\n@usage gui.filteredlist('Title', 'Foo', {'Bar', 'Baz'})\n@usage gui.filteredlist('Title', {'Foo', 'Bar'}, {'a', 'b', 'c', 'd'}, false,\n '--output-column', '2')\n@return Either a string or integer on success; `nil` otherwise. In strings,\n multiple items are separated by newlines.\n@see dialog
find gui.find (module)\nTextadept's Find & Replace pane.
find string.find(s, pattern [, init [, plain]])\nLooks for the first match of `pattern` in the string `s`. If it finds a\nmatch, then `find` returns the indices of `s` where this occurrence starts\nand ends; otherwise, it returns nil. A third, optional numerical argument\n`init` specifies where to start the search; its default value is 1 and\ncan be negative. A value of true as a fourth, optional argument `plain`\nturns off the pattern matching facilities, so the function does a plain\n"find substring" operation, with no characters in `pattern` being considered\nmagic. Note that if `plain` is given, then `init` must be given as well.\n\nIf the pattern has captures, then in a successful match the captured values\nare also returned, after the two indices.
find_column buffer.find_column(buffer, line, column)\nReturns the position of column number *column* on line number *line*, taking\ntab and multi-byte characters into account, or the position at the end of\nline *line*.\n@param buffer The global buffer.\n@param line The line number in *buffer* to use.\n@param column The column number to use.
find_entry_text gui.find.find_entry_text (string)\nThe text in the find entry.
find_in_files gui.find.find_in_files(utf8_dir)\nSearches the *utf8_dir* or user-specified directory for files that match\nsearch text and options and prints the results to a buffer.\nUse the `find_text`, `match_case`, `whole_word`, and `lua` fields to set the\nsearch text and option flags, respectively. Use `FILTER` to set the search\nfilter.\n@param utf8_dir Optional UTF-8-encoded directory path to search. If `nil`,\n the user is prompted for one.\n@see FILTER
-find_incremental gui.find.find_incremental()\nBegins an incremental find using the command entry.\nOnly the `match_case` find option is recognized. Normal command entry\nfunctionality will be unavailable until the search is finished by pressing\n`Esc` (`⎋` on Mac OSX | `Esc` in ncurses).
+find_incremental gui.find.find_incremental(text, next, anchor)\nBegins an incremental search using the command entry if *text* is `nil`;\notherwise continues an incremental search by searching for the next or\nprevious instance of string *text* depending on boolean *next*.\nIf *anchor* is `true`, searches for *text* starting from the current position\ninstead of the position where incremental search began at.\nOnly the `match_case` find option is recognized. Normal command entry\nfunctionality is unavailable until the search is finished by pressing `Esc`\n(`⎋` on Mac OSX | `Esc` in curses).\n@param text The text to incrementally search for, or `nil` to begin an\n incremental search.\n@param next Flag indicating whether or not the search direction is forward.\n@param anchor Optional flag indicating whether or not to start searching from\n the current position. The default value is `false`.
find_label_text gui.find.find_label_text (string, Write-only)\nThe text of the "Find" label.\nThis is primarily used for localization.
find_next gui.find.find_next()\nMimics pressing the "Find Next" button.
find_next_button_text gui.find.find_next_button_text (string, Write-only)\nThe text of the "Find Next" button.\nThis is primarily used for localization.
find_prev gui.find.find_prev()\nMimics pressing the "Find Prev" button.
find_prev_button_text gui.find.find_prev_button_text (string, Write-only)\nThe text of the "Find Prev" button.\nThis is primarily used for localization.
+finish_mode gui.command_entry.finish_mode(f)\nExits the current key mode, closes the command entry, and calls function *f*\n(if given) with the command entry text as an argument.\nThis is useful for binding keys to exit a command entry mode and perform an\naction with the entered text.\n@param f Optional function to call. It should accept the command entry text\n as an argument.\n@usage keys['\n'] = {gui.command_entry.finish_mode, gui.print}
first_visible_line buffer.first_visible_line (number)\nThe line number of the line at the top of the view, starting from zero.
float lexer.float (pattern)\nA pattern matching a floating point number.
floor math.floor(x)\nReturns the largest integer smaller than or equal to `x`.
@@ -1100,9 +1107,9 @@ gmatch string.gmatch(s, pattern)\nReturns an iterator function that, each time i
goto_bookmark _M.textadept.bookmarks.goto_bookmark()\nPrompts the user to select a bookmarked line to go to.
goto_buffer view.goto_buffer(view, n, relative)\nGoes to buffer number *n* in the view.\nIf *relative* is `true`, *n* is an index relative to the index of the current\nbuffer in `_G._BUFFERS` instead of an absolute index.\nEmits `BUFFER_BEFORE_SWITCH` and `BUFFER_AFTER_SWITCH` events.\n@param view The view to switch buffers in.\n@param n A relative or absolute buffer index in `_G._BUFFERS`. An absolute\n index of `-1` goes to the last buffer.\n@param relative Optional flag indicating whether *n* is a relative or\n absolute index. The default value is `false`, for an absolute index.\n@see _G._G._BUFFERS\n@see events.BUFFER_BEFORE_SWITCH\n@see events.BUFFER_AFTER_SWITCH
goto_ctag _M.textadept.adeptsense.goto_ctag(sense, kind, title)\nPrompts the user to select a symbol to jump to from a list of all known\nsymbols of kind *kind* (classes, functions, fields, etc.) shown in a filtered\nlist dialog whose title text is *title*.\n@param sense The Adeptsense returned by `adeptsense.new()`.\n@param kind The Ctag character kind (e.g. `'f'` for a Lua function).\n@param title The title for the filtered list dialog.
-goto_error _M.textadept.run.goto_error(pos, line_num)\nGoes to line number *line_num* in the file an error occurred at based on the\nerror message at position *pos* in the buffer and displays an annotation with\nthe error message.\nThis is typically called by an event handler for when the user double-clicks\non an error message.\n@param pos The position of the caret in the buffer.\n@param line_num The line number the caret is on with the error message.\n@see error_detail
+goto_error _M.textadept.run.goto_error(line, next)\nGoes to the source of the recognized compile/run error on line number *line*\nin the message buffer or the next or previous recognized error depending on\nboolean *next*.\nDisplays an annotation with the error message, if available.\n@param line The line number in the message buffer that contains the\n compile/run error to go to.\n@param next Optional flag indicating whether to go to the next recognized\n error or the previous one. Only applicable when *line* is `nil` or `false`.\n@see error_detail\n@see cwd
goto_file gui.goto_file(filename, split, preferred_view, sloppy)\nGoes to the buffer whose filename is *filename* in an existing view,\notherwise splitting the current view if *split* is `true` or going to the\nnext or *preferred_view* view instead of staying in the current one.\nIf *sloppy* is `true`, only the last part of *filename* is matched to a\nbuffer's `filename`.\n@param filename The filename of the buffer to go to.\n@param split Optional flag indicating whether or not to open the buffer in a\n split view if there is only one view. The default value is `false`.\n@param preferred_view Optional view to open the desired buffer in if the\n buffer is not visible in any other view.\n@param sloppy Optional flag indicating whether or not to not match *filename*\n to `buffer.filename` exactly. When `true`, matches *filename* to only the\n last part of `buffer.filename` This is useful for run and compile commands\n which output relative filenames and paths instead of full ones and it is\n likely that the file in question is already open. The default value is\n `false`.
-goto_file_in_list gui.find.goto_file_in_list(next)\nIf *next* is `true`, goes to the next file found, relative to the file on the\ncurrent line in the results list. Otherwise goes to the previous file found.\n@param next Optional flag indicating whether or not to go to the next file.\n The default value is `false`.
+goto_file_found gui.find.goto_file_found(line, next)\nGoes to the source of the find in files search result on line number *line*\nin the files found buffer, or if `nil`, the next or previous search result\ndepending on boolean *next*.\n@param line The line number in the files found buffer that contains the\n search result to go to.\n@param next Optional flag indicating whether to go to the next search result\n or the previous one. Only applicable when *line* is `nil` or `false`.
goto_line _M.textadept.editing.goto_line(line)\nGoes to line number *line* or the user-specified line in the buffer.\n@param line Optional line number to go to. If `nil`, the user is prompted for\n one.
goto_line buffer.goto_line(buffer, line)\nPlaces the caret an anchor at the beginning of line number *line* and scrolls\nthem into view.\n@param buffer The global buffer.\n@param line The line number in *buffer* to go to.
goto_next _M.textadept.bookmarks.goto_next()\nGoes to the next bookmarked line in the current buffer.
@@ -1111,18 +1118,16 @@ goto_prev _M.textadept.bookmarks.goto_prev()\nGoes to the previous bookmarked li
goto_view gui.goto_view(n, relative)\nGoes to view number *n*.\nIf *relative* is `true`, *n* is an index relative to the index of the current\nview in `_G._VIEWS` instead of an absolute index.\nEmits `VIEW_BEFORE_SWITCH` and `VIEW_AFTER_SWITCH` events.\n@param n A relative or absolute view index in `_G._VIEWS`.\n@param relative Optional flag indicating whether *n* is a relative or\n absolute index. The default value is `false`, for an absolute index.\n@see _G._G._VIEWS\n@see events.VIEW_BEFORE_SWITCH\n@see events.VIEW_AFTER_SWITCH
grab_focus buffer.grab_focus(buffer)\nSets the focus to the buffer's view.\n@param buffer The global buffer.
graph lexer.graph (pattern)\nA pattern matching any graphical character (`!` to `~`).
-grow_selection _M.textadept.editing.grow_selection(amount)\nGrows the selected text by *amount* number of characters on either end.\n@param amount The number of characters to grow the selection by on either\n end.
gsub string.gsub(s, pattern, repl [, n])\nReturns a copy of `s` in which all (or the first `n`, if given)\noccurrences of the `pattern` have been replaced by a replacement string\nspecified by `repl`, which can be a string, a table, or a function. `gsub`\nalso returns, as its second value, the total number of matches that occurred.\nThe name `gsub` comes from "Global SUBstitution".\n\nIf `repl` is a string, then its value is used for replacement. The character\n`%` works as an escape character: any sequence in `repl` of the form `%d`,\nwith `d` between 1 and 9, stands for the value of the `d`-th captured\nsubstring. The sequence `%0` stands for the whole match. The sequence `%%`\nstands for a single `%`.\n\nIf `repl` is a table, then the table is queried for every match, using\nthe first capture as the key.\n\nIf `repl` is a function, then this function is called every time a match\noccurs, with all captured substrings passed as arguments, in order.\n\nIn any case, if the pattern specifies no captures, then it behaves as if the\nwhole pattern was inside a capture.\n\nIf the value returned by the table query or by the function call is a\nstring or a number, then it is used as the replacement string; otherwise,\nif it is false or nil, then there is no replacement (that is, the original\nmatch is kept in the string).\n\nHere are some examples:\n\n x = string.gsub("hello world", "(%w+)", "%1 %1")\n --> x="hello hello world world"\n x = string.gsub("hello world", "%w+", "%0 %0", 1)\n --> x="hello hello world"\n x = string.gsub("hello world from Lua", "(%w+)%s*(%w+)", "%2 %1")\n --> x="world hello Lua from"\n x = string.gsub("home = $HOME, user = $USER", "%$(%w+)", os.getenv)\n --> x="home = /home/roberto, user = roberto"\n x = string.gsub("4+5 = $return 4+5$", "%$(.-)%$", function (s)\n return load(s)()\n end)\n --> x="4+5 = 9"\n local t = {name="lua", version="5.2"}\n x = string.gsub("$name-$version.tar.gz", "%$(%w+)", t)\n --> x="lua-5.2.tar.gz"
gui _G.gui (module)\nUtilities for interacting with Textadept's user interface.
h_scroll_bar buffer.h_scroll_bar (bool)\nDisplay the horizontal scroll bar.\nThe default value is `true`.
handle_clear _M.textadept.adeptsense.handle_clear(sense)\nCalled when clearing the Adeptsense.\nThis function should be replaced with your own if you have any persistant\nobjects that need to be deleted.\n@param sense The Adeptsense returned by `adeptsense.new()`.
handle_ctag _M.textadept.adeptsense.handle_ctag(sense, tag_name, file_name, ex_cmd, ext_fields)\nCalled by `load_ctags()` when a Ctag kind is not recognized.\nThe parameters are extracted from Ctags' tag format. This method should\nbe replaced with your own that is specific to the language.\n@param sense The Adeptsense returned by `adeptsense.new()`.\n@param tag_name The tag name.\n@param file_name The name of the file the tag belongs to.\n@param ex_cmd The `ex_cmd` returned by Ctags.\n@param ext_fields The `ext_fields` returned by Ctags.
-handlers events.handlers (table)\nMap of event names with tables of the functions connected to them.
hex_num lexer.hex_num (pattern)\nA pattern matching a hexadecimal number.
hide_lines buffer.hide_lines(buffer, start_line, end_line)\nHides the range of lines from line number *start_line* to *end_line*.\nThis has no effect on fold levels or fold flags and the first line cannot be\nhidden.\n@param buffer The global buffer.\n@param start_line The start line of the range of lines in *buffer* to hide.\n@param end_line The end line of the range of lines in *buffer* to hide.
hide_selection buffer.hide_selection(buffer, normal)\nDo not highlight selected text if *normal* is `true`.\n@param buffer The global buffer.\n@param normal Whether or not to draw the normal selection.
highlight_guide buffer.highlight_guide (number)\nThe indentation guide column number to highlight, or `0` to stop\nhighlighting.
-highlight_word _M.textadept.editing.highlight_word()\nHighlights all occurrences of the selected text or the current word and adds\nmarkers to the lines they are on.\n@see buffer.word_chars
+highlight_word _M.textadept.editing.highlight_word()\nHighlights all occurrences of the selected text or the current word.\n@see buffer.word_chars
home buffer.home(buffer)\nMoves the caret to the beginning of the current line.\n@param buffer The global buffer.
home_display buffer.home_display(buffer)\nMoves the caret to the beginning of the current wrapped line.\n@param buffer The global buffer.
home_display_extend buffer.home_display_extend(buffer)\nMoves the caret to the beginning of the current wrapped line, extending the\nselected text to the new position.\n@param buffer The global buffer.
@@ -1178,7 +1183,7 @@ lexer _G.lexer (module)\nLexes Scintilla documents with Lua and LPeg.
lexer buffer.lexer (number)\nThe numeric ID of the Scintilla lexer used by the buffer.
lexer lexer.lexer (table)\nIndividual lexer fields.
lexer_language buffer.lexer_language (string)\nThe name of the Scintilla lexer used by the buffer.\nYou probably want to use `buffer:get_lexer()` instead.
-lexers _M.textadept.mime_types.lexers (table)\nList of detected lexers are read from *lexers/* and *~/.textadept/lexers/*.
+lexers _M.textadept.mime_types.lexers (table)\nList of lexers found in `_LEXERPATH`.
lfs _G.lfs (module)\nLua lfs module.
line_copy buffer.line_copy(buffer)\nCopies the current line to the clipboard.\n@param buffer The global buffer.
line_count buffer.line_count (number, Read-only)\nThe number of lines in the buffer.\nThere is always at least one.
@@ -1279,7 +1284,6 @@ max math.max(x, ···)\nReturns the maximum value among its arguments.
max_line_state buffer.max_line_state (number, Read-only)\nThe last line number with a non-zero line state.
menu _M.textadept.menu (module)\nDefines the menus used by Textadept.\nIf applicable, load this module last in your *~/.textadept/init.lua*, after\n`_M.textadept.keys` since it looks up defined key commands to show them in\nmenus.
menu gui.menu(menu_table)\nLow-level function for creating a menu from table *menu_table* and returning\nthe userdata.\nYou probably want to use the higher-level `_M.textadept.menu.set_menubar()`\nor `_M.textadept.menu.set_contextmenu()` functions. Emits a `MENU_CLICKED`\nevent when a menu item is selected.\n@param menu_table A table defining the menu. It is an ordered list of tables\n with a string menu item, integer menu ID, and optional GDK keycode and\n modifier mask. The latter two are used to display key shortcuts in the\n menu. '_' characters are treated as a menu mnemonics. If the menu item is\n empty, a menu separator item is created. Submenus are just nested\n menu-structure tables. Their title text is defined with a `title` key.\n@usage gui.menu{{'_New', 1}, {'_Open', 2}, {''}, {'_Quit', 4}}\n@usage gui.menu{{'_New', 1, string.byte('n'), 4}} -- 'Ctrl+N'\n@see events.MENU_CLICKED\n@see _M.textadept.menu.set_menubar\n@see _M.textadept.menu.set_contextmenu
-menubar _M.textadept.menu.menubar (table)\nDefines the default main menubar.\nChanging this field does not change the menubar. Use `set_menubar()` instead.\n@see set_menubar
menubar gui.menubar (table)\nA table of menus defining a menubar. (Write-only)\n@see _M.textadept.menu.set_menubar
mime_types _M.textadept.mime_types (module)\nHandles file type detection for Textadept.
min math.min(x, ···)\nReturns the minimum value among its arguments.
@@ -1294,7 +1298,7 @@ multi_paste buffer.multi_paste (number)\nThe multiple selection paste mode.\n\n*
multiple_selection buffer.multiple_selection (bool)\nEnable multiple selection.\nThe default value is `false`.
nested_pair lexer.nested_pair(start_chars, end_chars, end_optional)\nSimilar to `delimited_range()`, but allows for multi-character, nested\ndelimiters *start_chars* and *end_chars*. *end_optional* indicates whether or\nnot unterminated ranges match.\nWith single-character delimiters, this function is identical to\n`delimited_range(start_chars..end_chars, nil, end_optional, true)`.\n@param start_chars The string starting a nested sequence.\n@param end_chars The string ending a nested sequence.\n@param end_optional Optional flag indicating whether or not an ending\n delimiter is optional or not. If `true`, the range begun by the start\n delimiter matches until an end delimiter or the end of the input is\n reached.\n@usage local nested_comment = l.nested_pair('/*', '*/', true)\n@return pattern\n@see delimited_range
new _M.textadept.adeptsense.new(lang)\nCreates and returns a new Adeptsense for *lang* name.\nOnly one sense can exist per language.\n@param lang The lexer language name to create an Adeptsense for.\n@usage local lua_sense = _M.textadept.adeptsense.new('lua')\n@return adeptsense
-new_buffer _G.new_buffer()\nCreates and returns a new buffer.\nEmits a `BUFFER_NEW` event.\n@return the new buffer.\n@see events.BUFFER_NEW
+new buffer.new()\nCreates and returns a new buffer.\nEmits a `BUFFER_NEW` event.\n@return the new buffer.\n@see events.BUFFER_NEW
new_line buffer.new_line(buffer)\nInserts a new line character(s) at the caret depending on the end of line\nmode.\n@param buffer The global buffer.
newline lexer.newline (pattern)\nA pattern matching any newline characters.
next _G.next(table [, index])\nAllows a program to traverse all fields of a table. Its first argument is\na table and its second argument is an index in this table. `next` returns\nthe next index of the table and its associated value. When called with nil\nas its second argument, `next` returns an initial index and its associated\nvalue. When called with the last index, or with nil in an empty table, `next`\nreturns nil. If the second argument is absent, then it is interpreted as\nnil. In particular, you can use `next(t)` to check whether a table is empty.\n\nThe order in which the indices are enumerated is not specified, *even for\nnumeric indices*. (To traverse a table in numeric order, use a numerical\n`for`.)\n\nThe behavior of `next` is undefined if, during the traversal, you assign any\nvalue to a non-existent field in the table. You may however modify existing\nfields. In particular, you may clear existing fields.
@@ -1441,7 +1445,7 @@ sel_eol_filled buffer.sel_eol_filled (bool)\nExtend the selection to the right m
select _G.select(index, ···)\nIf `index` is a number, returns all arguments after argument number\n`index`; a negative number indexes from the end (-1 is the last argument).\nOtherwise, `index` must be the string `"#"`, and `select` returns the total\nnumber of extra arguments it received.
select_all buffer.select_all(buffer)\nSelects all of the text in the buffer without scrolling the view.\n@param buffer The global buffer.
select_command _M.textadept.menu.select_command()\nPrompts the user to select a menu command to run.
-select_enclosed _M.textadept.editing.select_enclosed(left, right)\nSelects the text in-between strings *left* and *right* containing the caret.\n@param left The left part of the enclosure.\n@param right The right part of the enclosure.
+select_enclosed _M.textadept.editing.select_enclosed(left, right)\nSelects the text in-between strings *left* and *right* containing the caret.\nIf already selected, toggles between selecting the *left* and *right*\nenclosures too.\n@param left The left part of the enclosure.\n@param right The right part of the enclosure.
select_indented_block _M.textadept.editing.select_indented_block()\nSelects indented text blocks intelligently.\nIf no block of text is selected, all text with the current level of\nindentation is selected. If a block of text is selected and the lines\nimmediately above and below it are one indentation level lower, they are\nadded to the selection. In all other cases, the behavior is the same as if no\ntext is selected.
select_lexer _M.textadept.mime_types.select_lexer()\nPrompts the user to select a lexer for the current buffer.\n@see buffer.set_lexer
select_line _M.textadept.editing.select_line()\nSelects the current line.
@@ -1490,7 +1494,7 @@ set_fold_margin_hi_colour buffer.set_fold_margin_hi_colour(buffer, use_setting,
set_hotspot_active_back buffer.set_hotspot_active_back(buffer, use_setting, color)\nOverrides the default background color of active hotspots with *color*, in\n"0xBBGGRR" format, if *use_setting* is `true`.\n@param buffer The global buffer.\n@param use_setting Whether or not to use *color*.\n@param color The color in "0xBBGGRR" format.
set_hotspot_active_fore buffer.set_hotspot_active_fore(buffer, use_setting, color)\nOverrides the default foreground color of active hotspots with *color*, in\n"0xBBGGRR" format, if *use_setting* is `true`.\n@param buffer The global buffer.\n@param use_setting Whether or not to use *color*.\n@param color The color in "0xBBGGRR" format.
set_length_for_encode buffer.set_length_for_encode(buffer, bytes)\nSets the length of *string* in `buffer:encoded_from_utf8()` to *bytes*.\n@param buffer The global buffer.\n@param bytes The number of bytes to encode, or `-1` for measuring to first\n null byte.
-set_lexer buffer.set_lexer(buffer, lang)\nSets the name of the lexer used by the buffer to *lang*, loading its\nlanguage-specific module if the module exists.\n@param buffer The global buffer.\n@param lang The string language name to set.\n@usage buffer.set_lexer(buffer, 'language_name')
+set_lexer buffer.set_lexer(buffer, lang)\nSets the name of the lexer used by the buffer to *lang* or the auto-detected\nlanguage and then loads the appropriate language-specific module if the\nmodule exists.\n@param buffer The global buffer.\n@param lang Optional string language name to set. If `nil`, attempts to\n auto-detect the buffer's language.\n@usage buffer.set_lexer(buffer, 'language_name')
set_menubar _M.textadept.menu.set_menubar(menubar)\nSets `gui.menubar` from *menubar*, a table of menus.\nEach menu is an ordered list of menu items and has a `title` key for the\ntitle text. Menu items are tables containing menu text and either a function\nto call or a table containing a function with its parameters to call when an\nitem is clicked. Menu items may also be sub-menus, ordered lists of menu\nitems with an additional `title` key for the sub-menu's title text.\n@param menubar The table of menu tables to create the menubar from.\n@see gui.menubar\n@see gui.menu
set_save_point buffer.set_save_point(buffer)\nTells Scintilla the buffer has no unsaved changes.\n@param buffer The global buffer.
set_sel buffer.set_sel(buffer, start_pos, end_pos)\nSelects the range of text from *start_pos* to *end_pos* in the buffer,\nscrolling the selected text into view.\n@param buffer The global buffer.\n@param start_pos The start position of the range of text in *buffer* to\n select. If negative, it means the end of the buffer.\n@param end_pos The end position of the range of text in *buffer* to select.\n If negative, it means remove any selection (i.e. set the `anchor` to the\n same position as `current_pos`).
diff --git a/modules/lua/tags b/modules/lua/tags
index d2b1849a..68d6afa2 100644
--- a/modules/lua/tags
+++ b/modules/lua/tags
@@ -25,10 +25,10 @@ CHAR_ADDED _ 0;" F class:events
CLASS _ 0;" F class:_M.textadept.adeptsense
CLASS _ 0;" F class:lexer
CLEAR _ 0;" F class:keys
-COMMAND_ENTRY_COMMAND _ 0;" F class:events
COMMAND_ENTRY_KEYPRESS _ 0;" F class:events
COMMENT _ 0;" F class:lexer
CONSTANT _ 0;" F class:lexer
+CURSES _ 0;" F
Carg _ 0;" f class:lpeg
Cb _ 0;" f class:lpeg
Cc _ 0;" f class:lpeg
@@ -77,7 +77,6 @@ INDIC_DIAGONAL _ 0;" F class:_SCINTILLA.constants
INDIC_DOTBOX _ 0;" F class:_SCINTILLA.constants
INDIC_DOTS _ 0;" F class:_SCINTILLA.constants
INDIC_HIDDEN _ 0;" F class:_SCINTILLA.constants
-INDIC_HIGHLIGHT_ALPHA _ 0;" F class:_M.textadept.editing
INDIC_HIGHLIGHT_BACK _ 0;" F class:_M.textadept.editing
INDIC_MAX _ 0;" F class:_SCINTILLA.constants
INDIC_PLAIN _ 0;" F class:_SCINTILLA.constants
@@ -98,10 +97,10 @@ LANGUAGE_MODULE_PREFIX _ 0;" F class:keys
MARGIN_CLICK _ 0;" F class:events
MARKER_MAX _ 0;" F class:_SCINTILLA.constants
MARK_BOOKMARK_COLOR _ 0;" F class:_M.textadept.bookmarks
-MARK_HIGHLIGHT_BACK _ 0;" F class:_M.textadept.editing
+MARK_ERROR_BACK _ 0;" F class:_M.textadept.run
MAX_RECENT_FILES _ 0;" F class:_M.textadept.session
MENU_CLICKED _ 0;" F class:events
-NCURSES _ 0;" F
+MODE _ 0;" F class:keys
NUMBER _ 0;" F class:lexer
OPERATOR _ 0;" F class:lexer
OSX _ 0;" F
@@ -148,6 +147,7 @@ SCI_AUTOCGETDROPRESTOFWORD _ 0;" F class:_SCINTILLA.constants
SCI_AUTOCGETIGNORECASE _ 0;" F class:_SCINTILLA.constants
SCI_AUTOCGETMAXHEIGHT _ 0;" F class:_SCINTILLA.constants
SCI_AUTOCGETMAXWIDTH _ 0;" F class:_SCINTILLA.constants
+SCI_AUTOCGETORDER _ 0;" F class:_SCINTILLA.constants
SCI_AUTOCGETSEPARATOR _ 0;" F class:_SCINTILLA.constants
SCI_AUTOCGETTYPESEPARATOR _ 0;" F class:_SCINTILLA.constants
SCI_AUTOCSETAUTOHIDE _ 0;" F class:_SCINTILLA.constants
@@ -159,6 +159,7 @@ SCI_AUTOCSETFILLUPS _ 0;" F class:_SCINTILLA.constants
SCI_AUTOCSETIGNORECASE _ 0;" F class:_SCINTILLA.constants
SCI_AUTOCSETMAXHEIGHT _ 0;" F class:_SCINTILLA.constants
SCI_AUTOCSETMAXWIDTH _ 0;" F class:_SCINTILLA.constants
+SCI_AUTOCSETORDER _ 0;" F class:_SCINTILLA.constants
SCI_AUTOCSETSEPARATOR _ 0;" F class:_SCINTILLA.constants
SCI_AUTOCSETTYPESEPARATOR _ 0;" F class:_SCINTILLA.constants
SCI_CALLTIPSETBACK _ 0;" F class:_SCINTILLA.constants
@@ -688,6 +689,9 @@ SC_MULTILINEUNDOREDO _ 0;" F class:_SCINTILLA.constants
SC_MULTIPASTE_EACH _ 0;" F class:_SCINTILLA.constants
SC_MULTIPASTE_ONCE _ 0;" F class:_SCINTILLA.constants
SC_MULTISTEPUNDOREDO _ 0;" F class:_SCINTILLA.constants
+SC_ORDER_CUSTOM _ 0;" F class:_SCINTILLA.constants
+SC_ORDER_PERFORMSORT _ 0;" F class:_SCINTILLA.constants
+SC_ORDER_PRESORTED _ 0;" F class:_SCINTILLA.constants
SC_PERFORMED_REDO _ 0;" F class:_SCINTILLA.constants
SC_PERFORMED_UNDO _ 0;" F class:_SCINTILLA.constants
SC_PERFORMED_USER _ 0;" F class:_SCINTILLA.constants
@@ -791,7 +795,6 @@ _M.textadept _ 0;" m
_M.textadept.adeptsense _ 0;" m
_M.textadept.bookmarks _ 0;" m
_M.textadept.editing _ 0;" m
-_M.textadept.filter_through _ 0;" m
_M.textadept.keys _ 0;" m
_M.textadept.menu _ 0;" m
_M.textadept.mime_types _ 0;" m
@@ -869,6 +872,7 @@ auto_c_fill_ups _ 0;" F class:buffer
auto_c_ignore_case _ 0;" F class:buffer
auto_c_max_height _ 0;" F class:buffer
auto_c_max_width _ 0;" F class:buffer
+auto_c_order _ 0;" F class:buffer
auto_c_pos_start _ 0;" f class:buffer
auto_c_select _ 0;" f class:buffer
auto_c_separator _ 0;" F class:buffer
@@ -966,13 +970,13 @@ comment_string _ 0;" t class:_M.textadept.editing
compile _ 0;" f class:_M.textadept.run
compile_command _ 0;" t class:_M.textadept.run
complete _ 0;" f class:_M.textadept.adeptsense
+complete_lua _ 0;" f class:gui.command_entry
completions _ 0;" t class:_M.textadept.adeptsense
concat _ 0;" f class:table
config _ 0;" F class:package
connect _ 0;" f class:events
constants _ 0;" t class:_SCINTILLA
context_menu _ 0;" F class:gui
-context_menu _ 0;" t class:_M.textadept.menu
contracted_fold_next _ 0;" f class:buffer
control_char_symbol _ 0;" F class:buffer
control_structure_patterns _ 0;" t class:_M.lua
@@ -1050,6 +1054,7 @@ end_styled _ 0;" F class:buffer
end_undo_action _ 0;" f class:buffer
ensure_visible _ 0;" f class:buffer
ensure_visible_enforce_policy _ 0;" f class:buffer
+enter_mode _ 0;" f class:gui.command_entry
entry_text _ 0;" F class:gui.command_entry
eol_mode _ 0;" F class:buffer
error _ 0;" f
@@ -1057,6 +1062,7 @@ error_detail _ 0;" t class:_M.textadept.run
events _ 0;" m
events _ 0;" t
execute _ 0;" f class:os
+execute_lua _ 0;" f class:gui.command_entry
exit _ 0;" f class:os
exp _ 0;" f class:math
extend _ 0;" F class:lexer
@@ -1065,8 +1071,7 @@ extra_ascent _ 0;" F class:buffer
extra_descent _ 0;" F class:buffer
extract _ 0;" f class:bit32
filename _ 0;" F class:buffer
-filter_through _ 0;" f class:_M.textadept.filter_through
-filter_through _ 0;" t class:_M.textadept
+filter_through _ 0;" f class:_M.textadept.editing
filteredlist _ 0;" f class:gui
find _ 0;" f class:string
find _ 0;" t class:gui
@@ -1079,6 +1084,7 @@ find_next _ 0;" f class:gui.find
find_next_button_text _ 0;" F class:gui.find
find_prev _ 0;" f class:gui.find
find_prev_button_text _ 0;" F class:gui.find
+finish_mode _ 0;" f class:gui.command_entry
first_visible_line _ 0;" F class:buffer
float _ 0;" F class:lexer
floor _ 0;" f class:math
@@ -1132,7 +1138,7 @@ goto_buffer _ 0;" f class:view
goto_ctag _ 0;" f class:_M.textadept.adeptsense
goto_error _ 0;" f class:_M.textadept.run
goto_file _ 0;" f class:gui
-goto_file_in_list _ 0;" f class:gui.find
+goto_file_found _ 0;" f class:gui.find
goto_line _ 0;" f class:_M.textadept.editing
goto_line _ 0;" f class:buffer
goto_next _ 0;" f class:_M.textadept.bookmarks
@@ -1141,7 +1147,6 @@ goto_prev _ 0;" f class:_M.textadept.bookmarks
goto_view _ 0;" f class:gui
grab_focus _ 0;" f class:buffer
graph _ 0;" F class:lexer
-grow_selection _ 0;" f class:_M.textadept.editing
gsub _ 0;" f class:string
gui _ 0;" m
gui _ 0;" t
@@ -1150,7 +1155,6 @@ gui.find _ 0;" m
h_scroll_bar _ 0;" F class:buffer
handle_clear _ 0;" f class:_M.textadept.adeptsense
handle_ctag _ 0;" f class:_M.textadept.adeptsense
-handlers _ 0;" t class:events
hex_num _ 0;" F class:lexer
hide_lines _ 0;" f class:buffer
hide_selection _ 0;" f class:buffer
@@ -1317,7 +1321,6 @@ max _ 0;" f class:math
max_line_state _ 0;" F class:buffer
menu _ 0;" f class:gui
menu _ 0;" t class:_M.textadept
-menubar _ 0;" t class:_M.textadept.menu
menubar _ 0;" t class:gui
mime_types _ 0;" t class:_M.textadept
min _ 0;" f class:math
@@ -1332,7 +1335,7 @@ multi_paste _ 0;" F class:buffer
multiple_selection _ 0;" F class:buffer
nested_pair _ 0;" f class:lexer
new _ 0;" f class:_M.textadept.adeptsense
-new_buffer _ 0;" f
+new _ 0;" f class:buffer
new_line _ 0;" f class:buffer
newline _ 0;" F class:lexer
next _ 0;" f