aboutsummaryrefslogtreecommitdiff
path: root/modules/lua/api
diff options
context:
space:
mode:
Diffstat (limited to 'modules/lua/api')
-rw-r--r--modules/lua/api1060
1 files changed, 302 insertions, 758 deletions
diff --git a/modules/lua/api b/modules/lua/api
index d0a35868..da29cbd6 100644
--- a/modules/lua/api
+++ b/modules/lua/api
@@ -1,9 +1,15 @@
+ALPHA_NOALPHA _SCINTILLA.constants.ALPHA_NOALPHA\n256
+ALPHA_OPAQUE _SCINTILLA.constants.ALPHA_OPAQUE\n255
+ALPHA_TRANSPARENT _SCINTILLA.constants.ALPHA_TRANSPARENT\n0
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)\nEmitted when Mac OSX tells Textadept to open a file.\nArguments:\n\n* _`uri`_: The UTF-8-encoded URI to open.
ARG_NONE events.ARG_NONE (string)\nEmitted when no command line arguments are passed to Textadept on startup.
AUTOINDENT textadept.editing.AUTOINDENT (bool)\nMatch the indentation level of the previous line when inserting a new line.\nThe default value is `true`.
+AUTOMATICFOLD_CHANGE _SCINTILLA.constants.AUTOMATICFOLD_CHANGE\n4
+AUTOMATICFOLD_CLICK _SCINTILLA.constants.AUTOMATICFOLD_CLICK\n2
+AUTOMATICFOLD_SHOW _SCINTILLA.constants.AUTOMATICFOLD_SHOW\n1
AUTOPAIR textadept.editing.AUTOPAIR (bool)\nAutomatically close opening brace and quote characters with their\ncomplements.\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)\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.
@@ -15,6 +21,9 @@ BUFFER_DELETED events.BUFFER_DELETED (string)\nEmitted after deleting a buffer.\
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)\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.
+CARETSTICKY_OFF _SCINTILLA.constants.CARETSTICKY_OFF\n0
+CARETSTICKY_ON _SCINTILLA.constants.CARETSTICKY_ON\n1
+CARETSTICKY_WHITESPACE _SCINTILLA.constants.CARETSTICKY_WHITESPACE\n2
CARETSTYLE_BLOCK _SCINTILLA.constants.CARETSTYLE_BLOCK\n2
CARETSTYLE_INVISIBLE _SCINTILLA.constants.CARETSTYLE_INVISIBLE\n0
CARETSTYLE_LINE _SCINTILLA.constants.CARETSTYLE_LINE\n1
@@ -22,7 +31,12 @@ 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)\nEmitted after adding an ordinary text character to the buffer.\nArguments:\n\n* _`ch`_: The text character byte.
+CASEINSENSITIVEBEHAVIOUR_IGNORECASE _SCINTILLA.constants.CASEINSENSITIVEBEHAVIOUR_IGNORECASE\n1
+CASEINSENSITIVEBEHAVIOUR_RESPECTCASE _SCINTILLA.constants.CASEINSENSITIVEBEHAVIOUR_RESPECTCASE\n0
+CASE_LOWER _SCINTILLA.constants.CASE_LOWER\n2
+CASE_MIXED _SCINTILLA.constants.CASE_MIXED\n0
+CASE_UPPER _SCINTILLA.constants.CASE_UPPER\n1
+CHAR_ADDED events.CHAR_ADDED (string)\nEmitted after adding a text character to the buffer.\nArguments:\n\n* _`byte`_: The text character's byte.
CLASS lexer.CLASS (string)\nThe token name for class tokens.
CLASS textadept.adeptsense.CLASS (string)\nCtags kind for Adeptsense classes.
CLEAR keys.CLEAR (string)\nThe key 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.
@@ -30,7 +44,12 @@ COMMAND_ENTRY_KEYPRESS events.COMMAND_ENTRY_KEYPRESS (string)\nEmitted when pres
COMMENT lexer.COMMENT (string)\nThe token name for comment tokens.
COMPILE_OUTPUT 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.
+CP_UTF8 _SCINTILLA.constants.CP_UTF8\n65001
+CURSES _G.CURSES (bool)\nWhether or not Textadept is running in the terminal.\nCurses feature incompatibilities are listed in the Appendix.
+CURSORARROW _SCINTILLA.constants.CURSORARROW\n2
+CURSORNORMAL _SCINTILLA.constants.CURSORNORMAL\n-1
+CURSORREVERSEARROW _SCINTILLA.constants.CURSORREVERSEARROW\n7
+CURSORWAIT _SCINTILLA.constants.CURSORWAIT\n4
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.
@@ -42,24 +61,44 @@ Cs lpeg.Cs(patt)\nCreates a substitution capture, which captures the substring o
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 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 any modifier keys used: `buffer.SCMOD_CTRL`,\n `buffer.SCMOD_SHIFT`, `buffer.SCMOD_ALT`, and `buffer.SCMOD_META`.\n Note: If you set `buffer.rectangular_selection_modifier` to\n `buffer.SCMOD_CTRL`, the "Control" modifier is reported as *both*\n "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.
+DOUBLE_CLICK events.DOUBLE_CLICK (string)\nEmitted after double-clicking the mouse button.\nArguments:\n\n* _`position`_: The position double-clicked.\n* _`line`_: The line number double-clicked.\n* _`modifiers`_: A bit-mask of any modifier keys used: `buffer.MOD_CTRL`,\n `buffer.MOD_SHIFT`, `buffer.MOD_ALT`, and `buffer.MOD_META`.\n Note: If you set `buffer.rectangular_selection_modifier` to\n `buffer.MOD_CTRL`, the "Control" modifier is reported as *both* "Control"\n and "Alt" due to a Scintilla limitation with GTK+.
+DWELL_END events.DWELL_END (string)\nEmitted after a `DWELL_START` when the user moves the mouse, presses a key,\netc.\nArguments:\n\n* _`position`_: The position 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\n`buffer.mouse_dwell_time` milliseconds.\nArguments:\n\n* _`position`_: The position 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)\nEmitted when an error occurs.\nArguments:\n\n* _`text`_: The error text.
+EOL_CR _SCINTILLA.constants.EOL_CR\n1
+EOL_CRLF _SCINTILLA.constants.EOL_CRLF\n0
+EOL_LF _SCINTILLA.constants.EOL_LF\n2
+ERROR events.ERROR (string)\nEmitted when an error occurs.\nArguments:\n\n* _`text`_: The error message text.
ERROR lexer.ERROR (string)\nThe token name for error tokens.
FIELD textadept.adeptsense.FIELD (string)\nCtags kind for Adeptsense fields.
FIELD_IMAGE textadept.adeptsense.FIELD_IMAGE (string)\nXPM image for Adeptsense fields.
-FILE_AFTER_SAVE events.FILE_AFTER_SAVE (string)\nEmitted right after saving a file to disk.\nEmitted by `io.save_file()`.\nArguments:\n\n* _`filename`_: The UTF-8-encoded filename.
-FILE_BEFORE_SAVE events.FILE_BEFORE_SAVE (string)\nEmitted right before saving a file to disk.\nEmitted by `io.save_file()`.\nArguments:\n\n* _`filename`_: The UTF-8-encoded filename.
-FILE_OPENED 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 events.FILE_SAVED_AS (string)\nEmitted after saving a file under a different filename.\nEmitted by `io.save_file_as()`.\nArguments:\n\n* _`filename`_: The UTF-8-encoded filename.
+FILE_AFTER_SAVE events.FILE_AFTER_SAVE (string)\nEmitted right after saving a file to disk.\nEmitted by `io.save_file()`.\nArguments:\n\n* _`filename`_: The filename being saved.
+FILE_BEFORE_SAVE events.FILE_BEFORE_SAVE (string)\nEmitted right before saving a file to disk.\nEmitted by `io.save_file()`.\nArguments:\n\n* _`filename`_: The filename being saved.
+FILE_OPENED events.FILE_OPENED (string)\nEmitted when opening a file in a new buffer.\nEmitted by `open_file()`.\nArguments:\n\n* _`filename`_: The filename opened.
+FILE_SAVED_AS events.FILE_SAVED_AS (string)\nEmitted after saving a file under a different filename.\nEmitted by `io.save_file_as()`.\nArguments:\n\n* _`filename`_: The new filename.
FILTER lfs.FILTER (table)\nThe filter 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
-FILTER ui.find.FILTER (table)\nThe table of Lua patterns matching files and folders to exclude when finding\nin files.\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 ui.find.FILTER (table)\nThe table of Lua patterns matching files and folders to exclude when finding\nin files.\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.\nThe default value is `lfs.FILTER`, a filter for common binary file extensions\nand version control folders.\n@see find_in_files
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_MATCHCASE _SCINTILLA.constants.FIND_MATCHCASE\n4
+FIND_POSIX _SCINTILLA.constants.FIND_POSIX\n4194304
+FIND_REGEXP _SCINTILLA.constants.FIND_REGEXP\n2097152
+FIND_WHOLEWORD _SCINTILLA.constants.FIND_WHOLEWORD\n2
+FIND_WORDSTART _SCINTILLA.constants.FIND_WORDSTART\n1048576
FIND_WRAPPED 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.
+FOLDACTION_CONTRACT _SCINTILLA.constants.FOLDACTION_CONTRACT\n0
+FOLDACTION_EXPAND _SCINTILLA.constants.FOLDACTION_EXPAND\n1
+FOLDACTION_TOGGLE _SCINTILLA.constants.FOLDACTION_TOGGLE\n2
+FOLDFLAG_LEVELNUMBERS _SCINTILLA.constants.FOLDFLAG_LEVELNUMBERS\n64
+FOLDFLAG_LINEAFTER_CONTRACTED _SCINTILLA.constants.FOLDFLAG_LINEAFTER_CONTRACTED\n16
+FOLDFLAG_LINEAFTER_EXPANDED _SCINTILLA.constants.FOLDFLAG_LINEAFTER_EXPANDED\n8
+FOLDFLAG_LINEBEFORE_CONTRACTED _SCINTILLA.constants.FOLDFLAG_LINEBEFORE_CONTRACTED\n4
+FOLDFLAG_LINEBEFORE_EXPANDED _SCINTILLA.constants.FOLDFLAG_LINEBEFORE_EXPANDED\n2
+FOLDLEVELBASE _SCINTILLA.constants.FOLDLEVELBASE\n1024
+FOLDLEVELHEADERFLAG _SCINTILLA.constants.FOLDLEVELHEADERFLAG\n8192
+FOLDLEVELNUMBERMASK _SCINTILLA.constants.FOLDLEVELNUMBERMASK\n4095
+FOLDLEVELWHITEFLAG _SCINTILLA.constants.FOLDLEVELWHITEFLAG\n4096
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.
@@ -67,16 +106,12 @@ FUNCTION lexer.FUNCTION (string)\nThe token name for function tokens.
FUNCTION textadept.adeptsense.FUNCTION (string)\nCtags kind for Adeptsense functions.
FUNCTION_IMAGE textadept.adeptsense.FUNCTION_IMAGE (string)\nXPM image for Adeptsense functions.
HIGHLIGHT_BRACES 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)\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 any modifier keys used: `buffer.SCMOD_CTRL`,\n `buffer.SCMOD_SHIFT`, `buffer.SCMOD_ALT`, and `buffer.SCMOD_META`.\n Note: If you set `buffer.rectangular_selection_modifier` to\n `buffer.SCMOD_CTRL`, the "Control" modifier is reported as *both*\n "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 any modifier keys used: `buffer.SCMOD_CTRL`,\n `buffer.SCMOD_SHIFT`, `buffer.SCMOD_ALT`, and `buffer.SCMOD_META`.\n Note: If you set `buffer.rectangular_selection_modifier` to\n `buffer.SCMOD_CTRL`, the "Control" modifier is reported as *both*\n "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.
+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 clicked.\n* _`modifiers`_: A bit-mask of any modifier keys used: `buffer.MOD_CTRL`,\n `buffer.MOD_SHIFT`, `buffer.MOD_ALT`, and `buffer.MOD_META`.\n Note: If you set `buffer.rectangular_selection_modifier` to\n `buffer.MOD_CTRL`, the "Control" modifier is reported as *both* "Control"\n 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 double-clicked.\n* _`modifiers`_: A bit-mask of any modifier keys used: `buffer.MOD_CTRL`,\n `buffer.MOD_SHIFT`, `buffer.MOD_ALT`, and `buffer.MOD_META`.\n Note: If you set `buffer.rectangular_selection_modifier` to\n `buffer.MOD_CTRL`, the "Control" modifier is reported as *both* "Control"\n 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 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)\nEmitted when clicking the mouse on text that has an indicator present.\nArguments:\n\n* _`position`_: The position of the clicked text in the buffer.\n* _`modifiers`_: A bit-mask of any modifier keys used: `buffer.SCMOD_CTRL`,\n `buffer.SCMOD_SHIFT`, `buffer.SCMOD_ALT`, and `buffer.SCMOD_META`.\n Note: If you set `buffer.rectangular_selection_modifier` to\n `buffer.SCMOD_CTRL`, the "Control" modifier is reported as *both*\n "Control" and "Alt" due to a Scintilla limitation with GTK+.
-INDICATOR_RELEASE events.INDICATOR_RELEASE (string)\nEmitted when releasing the mouse after clicking on text that has an\nindicator present.\nArguments:\n\n* _`position`_: The position of the clicked text in the buffer.
-INDICS_MASK _SCINTILLA.constants.INDICS_MASK\n224
+INDICATOR_CLICK events.INDICATOR_CLICK (string)\nEmitted when clicking the mouse on text that has an indicator present.\nArguments:\n\n* _`position`_: The position of the clicked text.\n* _`modifiers`_: A bit-mask of any modifier keys used: `buffer.MOD_CTRL`,\n `buffer.MOD_SHIFT`, `buffer.MOD_ALT`, and `buffer.MOD_META`.\n Note: If you set `buffer.rectangular_selection_modifier` to\n `buffer.MOD_CTRL`, the "Control" modifier is reported as *both* "Control"\n and "Alt" due to a Scintilla limitation with GTK+.
+INDICATOR_RELEASE events.INDICATOR_RELEASE (string)\nEmitted when releasing the mouse after clicking on text that has an\nindicator present.\nArguments:\n\n* _`position`_: The position of the clicked text.
INDIC_BOX _SCINTILLA.constants.INDIC_BOX\n6
INDIC_COMPOSITIONTHICK _SCINTILLA.constants.INDIC_COMPOSITIONTHICK\n14
INDIC_CONTAINER _SCINTILLA.constants.INDIC_CONTAINER\n8
@@ -96,25 +131,107 @@ INDIC_STRAIGHTBOX _SCINTILLA.constants.INDIC_STRAIGHTBOX\n8
INDIC_STRIKE _SCINTILLA.constants.INDIC_STRIKE\n4
INDIC_TT _SCINTILLA.constants.INDIC_TT\n2
INITIALIZED events.INITIALIZED (string)\nEmitted after Textadept finishes initializing.
-INVALID_POSITION _SCINTILLA.constants.INVALID_POSITION\n-1
+IV_LOOKBOTH _SCINTILLA.constants.IV_LOOKBOTH\n3
+IV_LOOKFORWARD _SCINTILLA.constants.IV_LOOKFORWARD\n2
+IV_NONE _SCINTILLA.constants.IV_NONE\n0
+IV_REAL _SCINTILLA.constants.IV_REAL\n1
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_PREFIX keys.LANGUAGE_MODULE_PREFIX (string)\nThe prefix key of the key chain reserved for language 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).
+LASTSTEPINUNDOREDO _SCINTILLA.constants.LASTSTEPINUNDOREDO\n256
LEXER_LOADED events.LEXER_LOADED (string)\nEmitted after loading a language lexer.\nThis is useful for overriding a language module's key bindings or other\nproperties since the module is not loaded when Textadept starts.\nArguments:\n\n* *`lexer`*: The language lexer name.
-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 was clicked.\n* _`modifiers`_: A bit-mask of any modifier keys used: `buffer.SCMOD_CTRL`,\n `buffer.SCMOD_SHIFT`, `buffer.SCMOD_ALT`, and `buffer.SCMOD_META`.\n Note: If you set `buffer.rectangular_selection_modifier` to\n `buffer.SCMOD_CTRL`, the "Control" modifier is reported as *both*\n "Control" and "Alt" due to a Scintilla limitation with GTK+.
+MARGINOPTION_NONE _SCINTILLA.constants.MARGINOPTION_NONE\n0
+MARGINOPTION_SUBLINESELECT _SCINTILLA.constants.MARGINOPTION_SUBLINESELECT\n1
+MARGIN_BACK _SCINTILLA.constants.MARGIN_BACK\n2
+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 whose margin was\n clicked.\n* _`modifiers`_: A bit-mask of any modifier keys used: `buffer.MOD_CTRL`,\n `buffer.MOD_SHIFT`, `buffer.MOD_ALT`, and `buffer.MOD_META`.\n Note: If you set `buffer.rectangular_selection_modifier` to\n `buffer.MOD_CTRL`, the "Control" modifier is reported as *both* "Control"\n and "Alt" due to a Scintilla limitation with GTK+.
+MARGIN_FORE _SCINTILLA.constants.MARGIN_FORE\n3
+MARGIN_NUMBER _SCINTILLA.constants.MARGIN_NUMBER\n1
+MARGIN_RTEXT _SCINTILLA.constants.MARGIN_RTEXT\n5
+MARGIN_SYMBOL _SCINTILLA.constants.MARGIN_SYMBOL\n0
+MARGIN_TEXT _SCINTILLA.constants.MARGIN_TEXT\n4
MARKER_MAX _SCINTILLA.constants.MARKER_MAX\n31
+MARKNUM_FOLDER _SCINTILLA.constants.MARKNUM_FOLDER\n30
+MARKNUM_FOLDEREND _SCINTILLA.constants.MARKNUM_FOLDEREND\n25
+MARKNUM_FOLDERMIDTAIL _SCINTILLA.constants.MARKNUM_FOLDERMIDTAIL\n27
+MARKNUM_FOLDEROPEN _SCINTILLA.constants.MARKNUM_FOLDEROPEN\n31
+MARKNUM_FOLDEROPENMID _SCINTILLA.constants.MARKNUM_FOLDEROPENMID\n26
+MARKNUM_FOLDERSUB _SCINTILLA.constants.MARKNUM_FOLDERSUB\n29
+MARKNUM_FOLDERTAIL _SCINTILLA.constants.MARKNUM_FOLDERTAIL\n28
+MARK_ARROW _SCINTILLA.constants.MARK_ARROW\n2
+MARK_ARROWDOWN _SCINTILLA.constants.MARK_ARROWDOWN\n6
+MARK_ARROWS _SCINTILLA.constants.MARK_ARROWS\n24
+MARK_AVAILABLE _SCINTILLA.constants.MARK_AVAILABLE\n28
+MARK_BACKGROUND _SCINTILLA.constants.MARK_BACKGROUND\n22
MARK_BOOKMARK textadept.bookmarks.MARK_BOOKMARK (number)\nThe bookmark mark number.
+MARK_BOXMINUS _SCINTILLA.constants.MARK_BOXMINUS\n14
+MARK_BOXMINUSCONNECTED _SCINTILLA.constants.MARK_BOXMINUSCONNECTED\n15
+MARK_BOXPLUS _SCINTILLA.constants.MARK_BOXPLUS\n12
+MARK_BOXPLUSCONNECTED _SCINTILLA.constants.MARK_BOXPLUSCONNECTED\n13
+MARK_CHARACTER _SCINTILLA.constants.MARK_CHARACTER\n10000
+MARK_CIRCLE _SCINTILLA.constants.MARK_CIRCLE\n0
+MARK_CIRCLEMINUS _SCINTILLA.constants.MARK_CIRCLEMINUS\n20
+MARK_CIRCLEMINUSCONNECTED _SCINTILLA.constants.MARK_CIRCLEMINUSCONNECTED\n21
+MARK_CIRCLEPLUS _SCINTILLA.constants.MARK_CIRCLEPLUS\n18
+MARK_CIRCLEPLUSCONNECTED _SCINTILLA.constants.MARK_CIRCLEPLUSCONNECTED\n19
+MARK_DOTDOTDOT _SCINTILLA.constants.MARK_DOTDOTDOT\n23
+MARK_EMPTY _SCINTILLA.constants.MARK_EMPTY\n5
MARK_ERROR textadept.run.MARK_ERROR (number)\nThe run or compile error marker number.
+MARK_FULLRECT _SCINTILLA.constants.MARK_FULLRECT\n26
+MARK_LCORNER _SCINTILLA.constants.MARK_LCORNER\n10
+MARK_LCORNERCURVE _SCINTILLA.constants.MARK_LCORNERCURVE\n16
+MARK_LEFTRECT _SCINTILLA.constants.MARK_LEFTRECT\n27
+MARK_MINUS _SCINTILLA.constants.MARK_MINUS\n7
+MARK_PIXMAP _SCINTILLA.constants.MARK_PIXMAP\n25
+MARK_PLUS _SCINTILLA.constants.MARK_PLUS\n8
+MARK_RGBAIMAGE _SCINTILLA.constants.MARK_RGBAIMAGE\n30
+MARK_ROUNDRECT _SCINTILLA.constants.MARK_ROUNDRECT\n1
+MARK_SHORTARROW _SCINTILLA.constants.MARK_SHORTARROW\n4
+MARK_SMALLRECT _SCINTILLA.constants.MARK_SMALLRECT\n3
+MARK_TCORNER _SCINTILLA.constants.MARK_TCORNER\n11
+MARK_TCORNERCURVE _SCINTILLA.constants.MARK_TCORNERCURVE\n17
+MARK_UNDERLINE _SCINTILLA.constants.MARK_UNDERLINE\n29
+MARK_VLINE _SCINTILLA.constants.MARK_VLINE\n9
+MASK_FOLDERS _SCINTILLA.constants.MASK_FOLDERS\n-33554432
+MAX_MARGIN _SCINTILLA.constants.MAX_MARGIN\n4
MAX_RECENT_FILES textadept.session.MAX_RECENT_FILES (number)\nThe maximum number of recent files to save to session files.\nRecent files are stored in `io.recent_files`.\nThe default value is `10`.
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 `ui.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`.
+MODEVENTMASKALL _SCINTILLA.constants.MODEVENTMASKALL\n1048575
+MOD_ALT _SCINTILLA.constants.MOD_ALT\n4
+MOD_BEFOREDELETE _SCINTILLA.constants.MOD_BEFOREDELETE\n2048
+MOD_BEFOREINSERT _SCINTILLA.constants.MOD_BEFOREINSERT\n1024
+MOD_CHANGEANNOTATION _SCINTILLA.constants.MOD_CHANGEANNOTATION\n131072
+MOD_CHANGEFOLD _SCINTILLA.constants.MOD_CHANGEFOLD\n8
+MOD_CHANGEINDICATOR _SCINTILLA.constants.MOD_CHANGEINDICATOR\n16384
+MOD_CHANGELINESTATE _SCINTILLA.constants.MOD_CHANGELINESTATE\n32768
+MOD_CHANGEMARGIN _SCINTILLA.constants.MOD_CHANGEMARGIN\n65536
+MOD_CHANGEMARKER _SCINTILLA.constants.MOD_CHANGEMARKER\n512
+MOD_CHANGESTYLE _SCINTILLA.constants.MOD_CHANGESTYLE\n4
+MOD_CONTAINER _SCINTILLA.constants.MOD_CONTAINER\n262144
+MOD_CTRL _SCINTILLA.constants.MOD_CTRL\n2
+MOD_DELETETEXT _SCINTILLA.constants.MOD_DELETETEXT\n2
+MOD_INSERTTEXT _SCINTILLA.constants.MOD_INSERTTEXT\n1
+MOD_LEXERSTATE _SCINTILLA.constants.MOD_LEXERSTATE\n524288
+MOD_META _SCINTILLA.constants.MOD_META\n16
+MOD_NORM _SCINTILLA.constants.MOD_NORM\n0
+MOD_SHIFT _SCINTILLA.constants.MOD_SHIFT\n1
+MOD_SUPER _SCINTILLA.constants.MOD_SUPER\n8
+MULTILINEUNDOREDO _SCINTILLA.constants.MULTILINEUNDOREDO\n4096
+MULTIPASTE_EACH _SCINTILLA.constants.MULTIPASTE_EACH\n1
+MULTIPASTE_ONCE _SCINTILLA.constants.MULTIPASTE_ONCE\n0
+MULTISTEPUNDOREDO _SCINTILLA.constants.MULTISTEPUNDOREDO\n128
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`.
+ORDER_CUSTOM _SCINTILLA.constants.ORDER_CUSTOM\n2
+ORDER_PERFORMSORT _SCINTILLA.constants.ORDER_PERFORMSORT\n1
+ORDER_PRESORTED _SCINTILLA.constants.ORDER_PRESORTED\n0
+OSX _G.OSX (bool)\nWhether or not Textadept is running on Mac OSX.
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.
+PERFORMED_REDO _SCINTILLA.constants.PERFORMED_REDO\n64
+PERFORMED_UNDO _SCINTILLA.constants.PERFORMED_UNDO\n32
+PERFORMED_USER _SCINTILLA.constants.PERFORMED_USER\n16
PREPROCESSOR lexer.PREPROCESSOR (string)\nThe token name for preprocessor tokens.
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.
@@ -128,413 +245,6 @@ S lpeg.S(string)\nReturns a pattern that matches any single character that appea
SAVE_ON_QUIT 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
-SCFIND_MATCHCASE _SCINTILLA.constants.SCFIND_MATCHCASE\n4
-SCFIND_POSIX _SCINTILLA.constants.SCFIND_POSIX\n4194304
-SCFIND_REGEXP _SCINTILLA.constants.SCFIND_REGEXP\n2097152
-SCFIND_WHOLEWORD _SCINTILLA.constants.SCFIND_WHOLEWORD\n2
-SCFIND_WORDSTART _SCINTILLA.constants.SCFIND_WORDSTART\n1048576
-SCI_ANNOTATIONGETLINES _SCINTILLA.constants.SCI_ANNOTATIONGETLINES\n2546
-SCI_ANNOTATIONGETSTYLE _SCINTILLA.constants.SCI_ANNOTATIONGETSTYLE\n2543
-SCI_ANNOTATIONGETSTYLEOFFSET _SCINTILLA.constants.SCI_ANNOTATIONGETSTYLEOFFSET\n2551
-SCI_ANNOTATIONGETSTYLES _SCINTILLA.constants.SCI_ANNOTATIONGETSTYLES\n2545
-SCI_ANNOTATIONGETTEXT _SCINTILLA.constants.SCI_ANNOTATIONGETTEXT\n2541
-SCI_ANNOTATIONGETVISIBLE _SCINTILLA.constants.SCI_ANNOTATIONGETVISIBLE\n2549
-SCI_ANNOTATIONSETSTYLE _SCINTILLA.constants.SCI_ANNOTATIONSETSTYLE\n2542
-SCI_ANNOTATIONSETSTYLEOFFSET _SCINTILLA.constants.SCI_ANNOTATIONSETSTYLEOFFSET\n2550
-SCI_ANNOTATIONSETSTYLES _SCINTILLA.constants.SCI_ANNOTATIONSETSTYLES\n2544
-SCI_ANNOTATIONSETTEXT _SCINTILLA.constants.SCI_ANNOTATIONSETTEXT\n2540
-SCI_ANNOTATIONSETVISIBLE _SCINTILLA.constants.SCI_ANNOTATIONSETVISIBLE\n2548
-SCI_AUTOCGETAUTOHIDE _SCINTILLA.constants.SCI_AUTOCGETAUTOHIDE\n2119
-SCI_AUTOCGETCANCELATSTART _SCINTILLA.constants.SCI_AUTOCGETCANCELATSTART\n2111
-SCI_AUTOCGETCASEINSENSITIVEBEHAVIOUR _SCINTILLA.constants.SCI_AUTOCGETCASEINSENSITIVEBEHAVIOUR\n2635
-SCI_AUTOCGETCHOOSESINGLE _SCINTILLA.constants.SCI_AUTOCGETCHOOSESINGLE\n2114
-SCI_AUTOCGETCURRENT _SCINTILLA.constants.SCI_AUTOCGETCURRENT\n2445
-SCI_AUTOCGETCURRENTTEXT _SCINTILLA.constants.SCI_AUTOCGETCURRENTTEXT\n2610
-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
-SCI_AUTOCSETCANCELATSTART _SCINTILLA.constants.SCI_AUTOCSETCANCELATSTART\n2110
-SCI_AUTOCSETCASEINSENSITIVEBEHAVIOUR _SCINTILLA.constants.SCI_AUTOCSETCASEINSENSITIVEBEHAVIOUR\n2634
-SCI_AUTOCSETCHOOSESINGLE _SCINTILLA.constants.SCI_AUTOCSETCHOOSESINGLE\n2113
-SCI_AUTOCSETDROPRESTOFWORD _SCINTILLA.constants.SCI_AUTOCSETDROPRESTOFWORD\n2270
-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
-SCI_CALLTIPSETFORE _SCINTILLA.constants.SCI_CALLTIPSETFORE\n2206
-SCI_CALLTIPSETFOREHLT _SCINTILLA.constants.SCI_CALLTIPSETFOREHLT\n2207
-SCI_CALLTIPSETPOSITION _SCINTILLA.constants.SCI_CALLTIPSETPOSITION\n2213
-SCI_CALLTIPUSESTYLE _SCINTILLA.constants.SCI_CALLTIPUSESTYLE\n2212
-SCI_DISTANCETOSECONDARYSTYLES _SCINTILLA.constants.SCI_DISTANCETOSECONDARYSTYLES\n4025
-SCI_GETADDITIONALCARETFORE _SCINTILLA.constants.SCI_GETADDITIONALCARETFORE\n2605
-SCI_GETADDITIONALCARETSBLINK _SCINTILLA.constants.SCI_GETADDITIONALCARETSBLINK\n2568
-SCI_GETADDITIONALCARETSVISIBLE _SCINTILLA.constants.SCI_GETADDITIONALCARETSVISIBLE\n2609
-SCI_GETADDITIONALSELALPHA _SCINTILLA.constants.SCI_GETADDITIONALSELALPHA\n2603
-SCI_GETADDITIONALSELECTIONTYPING _SCINTILLA.constants.SCI_GETADDITIONALSELECTIONTYPING\n2566
-SCI_GETALLLINESVISIBLE _SCINTILLA.constants.SCI_GETALLLINESVISIBLE\n2236
-SCI_GETANCHOR _SCINTILLA.constants.SCI_GETANCHOR\n2009
-SCI_GETAUTOMATICFOLD _SCINTILLA.constants.SCI_GETAUTOMATICFOLD\n2664
-SCI_GETBACKSPACEUNINDENTS _SCINTILLA.constants.SCI_GETBACKSPACEUNINDENTS\n2263
-SCI_GETBUFFEREDDRAW _SCINTILLA.constants.SCI_GETBUFFEREDDRAW\n2034
-SCI_GETCARETFORE _SCINTILLA.constants.SCI_GETCARETFORE\n2138
-SCI_GETCARETLINEBACK _SCINTILLA.constants.SCI_GETCARETLINEBACK\n2097
-SCI_GETCARETLINEBACKALPHA _SCINTILLA.constants.SCI_GETCARETLINEBACKALPHA\n2471
-SCI_GETCARETLINEVISIBLE _SCINTILLA.constants.SCI_GETCARETLINEVISIBLE\n2095
-SCI_GETCARETLINEVISIBLEALWAYS _SCINTILLA.constants.SCI_GETCARETLINEVISIBLEALWAYS\n2654
-SCI_GETCARETPERIOD _SCINTILLA.constants.SCI_GETCARETPERIOD\n2075
-SCI_GETCARETSTICKY _SCINTILLA.constants.SCI_GETCARETSTICKY\n2457
-SCI_GETCARETSTYLE _SCINTILLA.constants.SCI_GETCARETSTYLE\n2513
-SCI_GETCARETWIDTH _SCINTILLA.constants.SCI_GETCARETWIDTH\n2189
-SCI_GETCHARACTERPOINTER _SCINTILLA.constants.SCI_GETCHARACTERPOINTER\n2520
-SCI_GETCHARAT _SCINTILLA.constants.SCI_GETCHARAT\n2007
-SCI_GETCODEPAGE _SCINTILLA.constants.SCI_GETCODEPAGE\n2137
-SCI_GETCOLUMN _SCINTILLA.constants.SCI_GETCOLUMN\n2129
-SCI_GETCONTROLCHARSYMBOL _SCINTILLA.constants.SCI_GETCONTROLCHARSYMBOL\n2389
-SCI_GETCURRENTPOS _SCINTILLA.constants.SCI_GETCURRENTPOS\n2008
-SCI_GETCURSOR _SCINTILLA.constants.SCI_GETCURSOR\n2387
-SCI_GETDIRECTFUNCTION _SCINTILLA.constants.SCI_GETDIRECTFUNCTION\n2184
-SCI_GETDIRECTPOINTER _SCINTILLA.constants.SCI_GETDIRECTPOINTER\n2185
-SCI_GETDOCPOINTER _SCINTILLA.constants.SCI_GETDOCPOINTER\n2357
-SCI_GETEDGECOLOUR _SCINTILLA.constants.SCI_GETEDGECOLOUR\n2364
-SCI_GETEDGECOLUMN _SCINTILLA.constants.SCI_GETEDGECOLUMN\n2360
-SCI_GETEDGEMODE _SCINTILLA.constants.SCI_GETEDGEMODE\n2362
-SCI_GETENDATLASTLINE _SCINTILLA.constants.SCI_GETENDATLASTLINE\n2278
-SCI_GETENDSTYLED _SCINTILLA.constants.SCI_GETENDSTYLED\n2028
-SCI_GETEOLMODE _SCINTILLA.constants.SCI_GETEOLMODE\n2030
-SCI_GETEXTRAASCENT _SCINTILLA.constants.SCI_GETEXTRAASCENT\n2526
-SCI_GETEXTRADESCENT _SCINTILLA.constants.SCI_GETEXTRADESCENT\n2528
-SCI_GETFIRSTVISIBLELINE _SCINTILLA.constants.SCI_GETFIRSTVISIBLELINE\n2152
-SCI_GETFOCUS _SCINTILLA.constants.SCI_GETFOCUS\n2381
-SCI_GETFOLDEXPANDED _SCINTILLA.constants.SCI_GETFOLDEXPANDED\n2230
-SCI_GETFOLDLEVEL _SCINTILLA.constants.SCI_GETFOLDLEVEL\n2223
-SCI_GETFOLDPARENT _SCINTILLA.constants.SCI_GETFOLDPARENT\n2225
-SCI_GETFONTQUALITY _SCINTILLA.constants.SCI_GETFONTQUALITY\n2612
-SCI_GETGAPPOSITION _SCINTILLA.constants.SCI_GETGAPPOSITION\n2644
-SCI_GETHIGHLIGHTGUIDE _SCINTILLA.constants.SCI_GETHIGHLIGHTGUIDE\n2135
-SCI_GETHOTSPOTACTIVEUNDERLINE _SCINTILLA.constants.SCI_GETHOTSPOTACTIVEUNDERLINE\n2496
-SCI_GETHOTSPOTSINGLELINE _SCINTILLA.constants.SCI_GETHOTSPOTSINGLELINE\n2497
-SCI_GETHSCROLLBAR _SCINTILLA.constants.SCI_GETHSCROLLBAR\n2131
-SCI_GETIDENTIFIER _SCINTILLA.constants.SCI_GETIDENTIFIER\n2623
-SCI_GETINDENT _SCINTILLA.constants.SCI_GETINDENT\n2123
-SCI_GETINDENTATIONGUIDES _SCINTILLA.constants.SCI_GETINDENTATIONGUIDES\n2133
-SCI_GETINDICATORCURRENT _SCINTILLA.constants.SCI_GETINDICATORCURRENT\n2501
-SCI_GETINDICATORVALUE _SCINTILLA.constants.SCI_GETINDICATORVALUE\n2503
-SCI_GETKEYSUNICODE _SCINTILLA.constants.SCI_GETKEYSUNICODE\n2522
-SCI_GETLAYOUTCACHE _SCINTILLA.constants.SCI_GETLAYOUTCACHE\n2273
-SCI_GETLENGTH _SCINTILLA.constants.SCI_GETLENGTH\n2006
-SCI_GETLEXER _SCINTILLA.constants.SCI_GETLEXER\n4002
-SCI_GETLEXERLANGUAGE _SCINTILLA.constants.SCI_GETLEXERLANGUAGE\n4012
-SCI_GETLINECOUNT _SCINTILLA.constants.SCI_GETLINECOUNT\n2154
-SCI_GETLINEENDPOSITION _SCINTILLA.constants.SCI_GETLINEENDPOSITION\n2136
-SCI_GETLINEENDTYPESACTIVE _SCINTILLA.constants.SCI_GETLINEENDTYPESACTIVE\n2658
-SCI_GETLINEENDTYPESALLOWED _SCINTILLA.constants.SCI_GETLINEENDTYPESALLOWED\n2657
-SCI_GETLINEENDTYPESSUPPORTED _SCINTILLA.constants.SCI_GETLINEENDTYPESSUPPORTED\n4018
-SCI_GETLINEINDENTATION _SCINTILLA.constants.SCI_GETLINEINDENTATION\n2127
-SCI_GETLINEINDENTPOSITION _SCINTILLA.constants.SCI_GETLINEINDENTPOSITION\n2128
-SCI_GETLINESTATE _SCINTILLA.constants.SCI_GETLINESTATE\n2093
-SCI_GETLINEVISIBLE _SCINTILLA.constants.SCI_GETLINEVISIBLE\n2228
-SCI_GETMAINSELECTION _SCINTILLA.constants.SCI_GETMAINSELECTION\n2575
-SCI_GETMARGINCURSORN _SCINTILLA.constants.SCI_GETMARGINCURSORN\n2249
-SCI_GETMARGINLEFT _SCINTILLA.constants.SCI_GETMARGINLEFT\n2156
-SCI_GETMARGINMASKN _SCINTILLA.constants.SCI_GETMARGINMASKN\n2245
-SCI_GETMARGINOPTIONS _SCINTILLA.constants.SCI_GETMARGINOPTIONS\n2557
-SCI_GETMARGINRIGHT _SCINTILLA.constants.SCI_GETMARGINRIGHT\n2158
-SCI_GETMARGINSENSITIVEN _SCINTILLA.constants.SCI_GETMARGINSENSITIVEN\n2247
-SCI_GETMARGINTYPEN _SCINTILLA.constants.SCI_GETMARGINTYPEN\n2241
-SCI_GETMARGINWIDTHN _SCINTILLA.constants.SCI_GETMARGINWIDTHN\n2243
-SCI_GETMAXLINESTATE _SCINTILLA.constants.SCI_GETMAXLINESTATE\n2094
-SCI_GETMODEVENTMASK _SCINTILLA.constants.SCI_GETMODEVENTMASK\n2378
-SCI_GETMODIFY _SCINTILLA.constants.SCI_GETMODIFY\n2159
-SCI_GETMOUSEDOWNCAPTURES _SCINTILLA.constants.SCI_GETMOUSEDOWNCAPTURES\n2385
-SCI_GETMOUSEDWELLTIME _SCINTILLA.constants.SCI_GETMOUSEDWELLTIME\n2265
-SCI_GETMULTIPASTE _SCINTILLA.constants.SCI_GETMULTIPASTE\n2615
-SCI_GETMULTIPLESELECTION _SCINTILLA.constants.SCI_GETMULTIPLESELECTION\n2564
-SCI_GETOVERTYPE _SCINTILLA.constants.SCI_GETOVERTYPE\n2187
-SCI_GETPASTECONVERTENDINGS _SCINTILLA.constants.SCI_GETPASTECONVERTENDINGS\n2468
-SCI_GETPOSITIONCACHE _SCINTILLA.constants.SCI_GETPOSITIONCACHE\n2515
-SCI_GETPRINTCOLOURMODE _SCINTILLA.constants.SCI_GETPRINTCOLOURMODE\n2149
-SCI_GETPRINTMAGNIFICATION _SCINTILLA.constants.SCI_GETPRINTMAGNIFICATION\n2147
-SCI_GETPRINTWRAPMODE _SCINTILLA.constants.SCI_GETPRINTWRAPMODE\n2407
-SCI_GETPROPERTY _SCINTILLA.constants.SCI_GETPROPERTY\n4008
-SCI_GETPROPERTYEXPANDED _SCINTILLA.constants.SCI_GETPROPERTYEXPANDED\n4009
-SCI_GETPROPERTYINT _SCINTILLA.constants.SCI_GETPROPERTYINT\n4010
-SCI_GETPUNCTUATIONCHARS _SCINTILLA.constants.SCI_GETPUNCTUATIONCHARS\n2649
-SCI_GETREADONLY _SCINTILLA.constants.SCI_GETREADONLY\n2140
-SCI_GETRECTANGULARSELECTIONANCHOR _SCINTILLA.constants.SCI_GETRECTANGULARSELECTIONANCHOR\n2591
-SCI_GETRECTANGULARSELECTIONANCHORVIRTUALSPACE _SCINTILLA.constants.SCI_GETRECTANGULARSELECTIONANCHORVIRTUALSPACE\n2595
-SCI_GETRECTANGULARSELECTIONCARET _SCINTILLA.constants.SCI_GETRECTANGULARSELECTIONCARET\n2589
-SCI_GETRECTANGULARSELECTIONCARETVIRTUALSPACE _SCINTILLA.constants.SCI_GETRECTANGULARSELECTIONCARETVIRTUALSPACE\n2593
-SCI_GETRECTANGULARSELECTIONMODIFIER _SCINTILLA.constants.SCI_GETRECTANGULARSELECTIONMODIFIER\n2599
-SCI_GETSCROLLWIDTH _SCINTILLA.constants.SCI_GETSCROLLWIDTH\n2275
-SCI_GETSCROLLWIDTHTRACKING _SCINTILLA.constants.SCI_GETSCROLLWIDTHTRACKING\n2517
-SCI_GETSEARCHFLAGS _SCINTILLA.constants.SCI_GETSEARCHFLAGS\n2199
-SCI_GETSELALPHA _SCINTILLA.constants.SCI_GETSELALPHA\n2477
-SCI_GETSELECTIONEMPTY _SCINTILLA.constants.SCI_GETSELECTIONEMPTY\n2650
-SCI_GETSELECTIONEND _SCINTILLA.constants.SCI_GETSELECTIONEND\n2145
-SCI_GETSELECTIONMODE _SCINTILLA.constants.SCI_GETSELECTIONMODE\n2423
-SCI_GETSELECTIONNANCHOR _SCINTILLA.constants.SCI_GETSELECTIONNANCHOR\n2579
-SCI_GETSELECTIONNANCHORVIRTUALSPACE _SCINTILLA.constants.SCI_GETSELECTIONNANCHORVIRTUALSPACE\n2583
-SCI_GETSELECTIONNCARET _SCINTILLA.constants.SCI_GETSELECTIONNCARET\n2577
-SCI_GETSELECTIONNCARETVIRTUALSPACE _SCINTILLA.constants.SCI_GETSELECTIONNCARETVIRTUALSPACE\n2581
-SCI_GETSELECTIONNEND _SCINTILLA.constants.SCI_GETSELECTIONNEND\n2587
-SCI_GETSELECTIONNSTART _SCINTILLA.constants.SCI_GETSELECTIONNSTART\n2585
-SCI_GETSELECTIONS _SCINTILLA.constants.SCI_GETSELECTIONS\n2570
-SCI_GETSELECTIONSTART _SCINTILLA.constants.SCI_GETSELECTIONSTART\n2143
-SCI_GETSELEOLFILLED _SCINTILLA.constants.SCI_GETSELEOLFILLED\n2479
-SCI_GETSTATUS _SCINTILLA.constants.SCI_GETSTATUS\n2383
-SCI_GETSTYLEAT _SCINTILLA.constants.SCI_GETSTYLEAT\n2010
-SCI_GETSTYLEBITS _SCINTILLA.constants.SCI_GETSTYLEBITS\n2091
-SCI_GETSTYLEBITSNEEDED _SCINTILLA.constants.SCI_GETSTYLEBITSNEEDED\n4011
-SCI_GETSUBSTYLEBASES _SCINTILLA.constants.SCI_GETSUBSTYLEBASES\n4026
-SCI_GETSUBSTYLESLENGTH _SCINTILLA.constants.SCI_GETSUBSTYLESLENGTH\n4022
-SCI_GETSUBSTYLESSTART _SCINTILLA.constants.SCI_GETSUBSTYLESSTART\n4021
-SCI_GETTABINDENTS _SCINTILLA.constants.SCI_GETTABINDENTS\n2261
-SCI_GETTABWIDTH _SCINTILLA.constants.SCI_GETTABWIDTH\n2121
-SCI_GETTAG _SCINTILLA.constants.SCI_GETTAG\n2616
-SCI_GETTARGETEND _SCINTILLA.constants.SCI_GETTARGETEND\n2193
-SCI_GETTARGETSTART _SCINTILLA.constants.SCI_GETTARGETSTART\n2191
-SCI_GETTECHNOLOGY _SCINTILLA.constants.SCI_GETTECHNOLOGY\n2631
-SCI_GETTEXTLENGTH _SCINTILLA.constants.SCI_GETTEXTLENGTH\n2183
-SCI_GETTWOPHASEDRAW _SCINTILLA.constants.SCI_GETTWOPHASEDRAW\n2283
-SCI_GETUNDOCOLLECTION _SCINTILLA.constants.SCI_GETUNDOCOLLECTION\n2019
-SCI_GETUSETABS _SCINTILLA.constants.SCI_GETUSETABS\n2125
-SCI_GETVIEWEOL _SCINTILLA.constants.SCI_GETVIEWEOL\n2355
-SCI_GETVIEWWS _SCINTILLA.constants.SCI_GETVIEWWS\n2020
-SCI_GETVIRTUALSPACEOPTIONS _SCINTILLA.constants.SCI_GETVIRTUALSPACEOPTIONS\n2597
-SCI_GETVSCROLLBAR _SCINTILLA.constants.SCI_GETVSCROLLBAR\n2281
-SCI_GETWHITESPACECHARS _SCINTILLA.constants.SCI_GETWHITESPACECHARS\n2647
-SCI_GETWHITESPACESIZE _SCINTILLA.constants.SCI_GETWHITESPACESIZE\n2087
-SCI_GETWORDCHARS _SCINTILLA.constants.SCI_GETWORDCHARS\n2646
-SCI_GETWRAPINDENTMODE _SCINTILLA.constants.SCI_GETWRAPINDENTMODE\n2473
-SCI_GETWRAPMODE _SCINTILLA.constants.SCI_GETWRAPMODE\n2269
-SCI_GETWRAPSTARTINDENT _SCINTILLA.constants.SCI_GETWRAPSTARTINDENT\n2465
-SCI_GETWRAPVISUALFLAGS _SCINTILLA.constants.SCI_GETWRAPVISUALFLAGS\n2461
-SCI_GETWRAPVISUALFLAGSLOCATION _SCINTILLA.constants.SCI_GETWRAPVISUALFLAGSLOCATION\n2463
-SCI_GETXOFFSET _SCINTILLA.constants.SCI_GETXOFFSET\n2398
-SCI_GETZOOM _SCINTILLA.constants.SCI_GETZOOM\n2374
-SCI_INDICGETALPHA _SCINTILLA.constants.SCI_INDICGETALPHA\n2524
-SCI_INDICGETFORE _SCINTILLA.constants.SCI_INDICGETFORE\n2083
-SCI_INDICGETOUTLINEALPHA _SCINTILLA.constants.SCI_INDICGETOUTLINEALPHA\n2559
-SCI_INDICGETSTYLE _SCINTILLA.constants.SCI_INDICGETSTYLE\n2081
-SCI_INDICGETUNDER _SCINTILLA.constants.SCI_INDICGETUNDER\n2511
-SCI_INDICSETALPHA _SCINTILLA.constants.SCI_INDICSETALPHA\n2523
-SCI_INDICSETFORE _SCINTILLA.constants.SCI_INDICSETFORE\n2082
-SCI_INDICSETOUTLINEALPHA _SCINTILLA.constants.SCI_INDICSETOUTLINEALPHA\n2558
-SCI_INDICSETSTYLE _SCINTILLA.constants.SCI_INDICSETSTYLE\n2080
-SCI_INDICSETUNDER _SCINTILLA.constants.SCI_INDICSETUNDER\n2510
-SCI_LEXER_START _SCINTILLA.constants.SCI_LEXER_START\n4000
-SCI_LINESONSCREEN _SCINTILLA.constants.SCI_LINESONSCREEN\n2370
-SCI_MARGINGETSTYLE _SCINTILLA.constants.SCI_MARGINGETSTYLE\n2533
-SCI_MARGINGETSTYLEOFFSET _SCINTILLA.constants.SCI_MARGINGETSTYLEOFFSET\n2538
-SCI_MARGINGETSTYLES _SCINTILLA.constants.SCI_MARGINGETSTYLES\n2535
-SCI_MARGINGETTEXT _SCINTILLA.constants.SCI_MARGINGETTEXT\n2531
-SCI_MARGINSETSTYLE _SCINTILLA.constants.SCI_MARGINSETSTYLE\n2532
-SCI_MARGINSETSTYLEOFFSET _SCINTILLA.constants.SCI_MARGINSETSTYLEOFFSET\n2537
-SCI_MARGINSETSTYLES _SCINTILLA.constants.SCI_MARGINSETSTYLES\n2534
-SCI_MARGINSETTEXT _SCINTILLA.constants.SCI_MARGINSETTEXT\n2530
-SCI_MARKERSETALPHA _SCINTILLA.constants.SCI_MARKERSETALPHA\n2476
-SCI_MARKERSETBACK _SCINTILLA.constants.SCI_MARKERSETBACK\n2042
-SCI_MARKERSETBACKSELECTED _SCINTILLA.constants.SCI_MARKERSETBACKSELECTED\n2292
-SCI_MARKERSETFORE _SCINTILLA.constants.SCI_MARKERSETFORE\n2041
-SCI_OPTIONAL_START _SCINTILLA.constants.SCI_OPTIONAL_START\n3000
-SCI_RGBAIMAGESETHEIGHT _SCINTILLA.constants.SCI_RGBAIMAGESETHEIGHT\n2625
-SCI_RGBAIMAGESETSCALE _SCINTILLA.constants.SCI_RGBAIMAGESETSCALE\n2651
-SCI_RGBAIMAGESETWIDTH _SCINTILLA.constants.SCI_RGBAIMAGESETWIDTH\n2624
-SCI_SELECTIONISRECTANGLE _SCINTILLA.constants.SCI_SELECTIONISRECTANGLE\n2372
-SCI_SETADDITIONALCARETFORE _SCINTILLA.constants.SCI_SETADDITIONALCARETFORE\n2604
-SCI_SETADDITIONALCARETSBLINK _SCINTILLA.constants.SCI_SETADDITIONALCARETSBLINK\n2567
-SCI_SETADDITIONALCARETSVISIBLE _SCINTILLA.constants.SCI_SETADDITIONALCARETSVISIBLE\n2608
-SCI_SETADDITIONALSELALPHA _SCINTILLA.constants.SCI_SETADDITIONALSELALPHA\n2602
-SCI_SETADDITIONALSELBACK _SCINTILLA.constants.SCI_SETADDITIONALSELBACK\n2601
-SCI_SETADDITIONALSELECTIONTYPING _SCINTILLA.constants.SCI_SETADDITIONALSELECTIONTYPING\n2565
-SCI_SETADDITIONALSELFORE _SCINTILLA.constants.SCI_SETADDITIONALSELFORE\n2600
-SCI_SETANCHOR _SCINTILLA.constants.SCI_SETANCHOR\n2026
-SCI_SETAUTOMATICFOLD _SCINTILLA.constants.SCI_SETAUTOMATICFOLD\n2663
-SCI_SETBACKSPACEUNINDENTS _SCINTILLA.constants.SCI_SETBACKSPACEUNINDENTS\n2262
-SCI_SETBUFFEREDDRAW _SCINTILLA.constants.SCI_SETBUFFEREDDRAW\n2035
-SCI_SETCARETFORE _SCINTILLA.constants.SCI_SETCARETFORE\n2069
-SCI_SETCARETLINEBACK _SCINTILLA.constants.SCI_SETCARETLINEBACK\n2098
-SCI_SETCARETLINEBACKALPHA _SCINTILLA.constants.SCI_SETCARETLINEBACKALPHA\n2470
-SCI_SETCARETLINEVISIBLE _SCINTILLA.constants.SCI_SETCARETLINEVISIBLE\n2096
-SCI_SETCARETLINEVISIBLEALWAYS _SCINTILLA.constants.SCI_SETCARETLINEVISIBLEALWAYS\n2655
-SCI_SETCARETPERIOD _SCINTILLA.constants.SCI_SETCARETPERIOD\n2076
-SCI_SETCARETSTICKY _SCINTILLA.constants.SCI_SETCARETSTICKY\n2458
-SCI_SETCARETSTYLE _SCINTILLA.constants.SCI_SETCARETSTYLE\n2512
-SCI_SETCARETWIDTH _SCINTILLA.constants.SCI_SETCARETWIDTH\n2188
-SCI_SETCODEPAGE _SCINTILLA.constants.SCI_SETCODEPAGE\n2037
-SCI_SETCONTROLCHARSYMBOL _SCINTILLA.constants.SCI_SETCONTROLCHARSYMBOL\n2388
-SCI_SETCURRENTPOS _SCINTILLA.constants.SCI_SETCURRENTPOS\n2141
-SCI_SETCURSOR _SCINTILLA.constants.SCI_SETCURSOR\n2386
-SCI_SETDOCPOINTER _SCINTILLA.constants.SCI_SETDOCPOINTER\n2358
-SCI_SETEDGECOLOUR _SCINTILLA.constants.SCI_SETEDGECOLOUR\n2365
-SCI_SETEDGECOLUMN _SCINTILLA.constants.SCI_SETEDGECOLUMN\n2361
-SCI_SETEDGEMODE _SCINTILLA.constants.SCI_SETEDGEMODE\n2363
-SCI_SETENDATLASTLINE _SCINTILLA.constants.SCI_SETENDATLASTLINE\n2277
-SCI_SETEOLMODE _SCINTILLA.constants.SCI_SETEOLMODE\n2031
-SCI_SETEXTRAASCENT _SCINTILLA.constants.SCI_SETEXTRAASCENT\n2525
-SCI_SETEXTRADESCENT _SCINTILLA.constants.SCI_SETEXTRADESCENT\n2527
-SCI_SETFIRSTVISIBLELINE _SCINTILLA.constants.SCI_SETFIRSTVISIBLELINE\n2613
-SCI_SETFOCUS _SCINTILLA.constants.SCI_SETFOCUS\n2380
-SCI_SETFOLDEXPANDED _SCINTILLA.constants.SCI_SETFOLDEXPANDED\n2229
-SCI_SETFOLDFLAGS _SCINTILLA.constants.SCI_SETFOLDFLAGS\n2233
-SCI_SETFOLDLEVEL _SCINTILLA.constants.SCI_SETFOLDLEVEL\n2222
-SCI_SETFONTQUALITY _SCINTILLA.constants.SCI_SETFONTQUALITY\n2611
-SCI_SETHIGHLIGHTGUIDE _SCINTILLA.constants.SCI_SETHIGHLIGHTGUIDE\n2134
-SCI_SETHOTSPOTACTIVEUNDERLINE _SCINTILLA.constants.SCI_SETHOTSPOTACTIVEUNDERLINE\n2412
-SCI_SETHOTSPOTSINGLELINE _SCINTILLA.constants.SCI_SETHOTSPOTSINGLELINE\n2421
-SCI_SETHSCROLLBAR _SCINTILLA.constants.SCI_SETHSCROLLBAR\n2130
-SCI_SETIDENTIFIER _SCINTILLA.constants.SCI_SETIDENTIFIER\n2622
-SCI_SETIDENTIFIERS _SCINTILLA.constants.SCI_SETIDENTIFIERS\n4024
-SCI_SETINDENT _SCINTILLA.constants.SCI_SETINDENT\n2122
-SCI_SETINDENTATIONGUIDES _SCINTILLA.constants.SCI_SETINDENTATIONGUIDES\n2132
-SCI_SETINDICATORCURRENT _SCINTILLA.constants.SCI_SETINDICATORCURRENT\n2500
-SCI_SETINDICATORVALUE _SCINTILLA.constants.SCI_SETINDICATORVALUE\n2502
-SCI_SETKEYSUNICODE _SCINTILLA.constants.SCI_SETKEYSUNICODE\n2521
-SCI_SETKEYWORDS _SCINTILLA.constants.SCI_SETKEYWORDS\n4005
-SCI_SETLAYOUTCACHE _SCINTILLA.constants.SCI_SETLAYOUTCACHE\n2272
-SCI_SETLEXER _SCINTILLA.constants.SCI_SETLEXER\n4001
-SCI_SETLEXERLANGUAGE _SCINTILLA.constants.SCI_SETLEXERLANGUAGE\n4006
-SCI_SETLINEENDTYPESALLOWED _SCINTILLA.constants.SCI_SETLINEENDTYPESALLOWED\n2656
-SCI_SETLINEINDENTATION _SCINTILLA.constants.SCI_SETLINEINDENTATION\n2126
-SCI_SETLINESTATE _SCINTILLA.constants.SCI_SETLINESTATE\n2092
-SCI_SETMAINSELECTION _SCINTILLA.constants.SCI_SETMAINSELECTION\n2574
-SCI_SETMARGINCURSORN _SCINTILLA.constants.SCI_SETMARGINCURSORN\n2248
-SCI_SETMARGINLEFT _SCINTILLA.constants.SCI_SETMARGINLEFT\n2155
-SCI_SETMARGINMASKN _SCINTILLA.constants.SCI_SETMARGINMASKN\n2244
-SCI_SETMARGINOPTIONS _SCINTILLA.constants.SCI_SETMARGINOPTIONS\n2539
-SCI_SETMARGINRIGHT _SCINTILLA.constants.SCI_SETMARGINRIGHT\n2157
-SCI_SETMARGINSENSITIVEN _SCINTILLA.constants.SCI_SETMARGINSENSITIVEN\n2246
-SCI_SETMARGINTYPEN _SCINTILLA.constants.SCI_SETMARGINTYPEN\n2240
-SCI_SETMARGINWIDTHN _SCINTILLA.constants.SCI_SETMARGINWIDTHN\n2242
-SCI_SETMODEVENTMASK _SCINTILLA.constants.SCI_SETMODEVENTMASK\n2359
-SCI_SETMOUSEDOWNCAPTURES _SCINTILLA.constants.SCI_SETMOUSEDOWNCAPTURES\n2384
-SCI_SETMOUSEDWELLTIME _SCINTILLA.constants.SCI_SETMOUSEDWELLTIME\n2264
-SCI_SETMULTIPASTE _SCINTILLA.constants.SCI_SETMULTIPASTE\n2614
-SCI_SETMULTIPLESELECTION _SCINTILLA.constants.SCI_SETMULTIPLESELECTION\n2563
-SCI_SETOVERTYPE _SCINTILLA.constants.SCI_SETOVERTYPE\n2186
-SCI_SETPASTECONVERTENDINGS _SCINTILLA.constants.SCI_SETPASTECONVERTENDINGS\n2467
-SCI_SETPOSITIONCACHE _SCINTILLA.constants.SCI_SETPOSITIONCACHE\n2514
-SCI_SETPRINTCOLOURMODE _SCINTILLA.constants.SCI_SETPRINTCOLOURMODE\n2148
-SCI_SETPRINTMAGNIFICATION _SCINTILLA.constants.SCI_SETPRINTMAGNIFICATION\n2146
-SCI_SETPRINTWRAPMODE _SCINTILLA.constants.SCI_SETPRINTWRAPMODE\n2406
-SCI_SETPROPERTY _SCINTILLA.constants.SCI_SETPROPERTY\n4004
-SCI_SETPUNCTUATIONCHARS _SCINTILLA.constants.SCI_SETPUNCTUATIONCHARS\n2648
-SCI_SETREADONLY _SCINTILLA.constants.SCI_SETREADONLY\n2171
-SCI_SETRECTANGULARSELECTIONANCHOR _SCINTILLA.constants.SCI_SETRECTANGULARSELECTIONANCHOR\n2590
-SCI_SETRECTANGULARSELECTIONANCHORVIRTUALSPACE _SCINTILLA.constants.SCI_SETRECTANGULARSELECTIONANCHORVIRTUALSPACE\n2594
-SCI_SETRECTANGULARSELECTIONCARET _SCINTILLA.constants.SCI_SETRECTANGULARSELECTIONCARET\n2588
-SCI_SETRECTANGULARSELECTIONCARETVIRTUALSPACE _SCINTILLA.constants.SCI_SETRECTANGULARSELECTIONCARETVIRTUALSPACE\n2592
-SCI_SETRECTANGULARSELECTIONMODIFIER _SCINTILLA.constants.SCI_SETRECTANGULARSELECTIONMODIFIER\n2598
-SCI_SETSCROLLWIDTH _SCINTILLA.constants.SCI_SETSCROLLWIDTH\n2274
-SCI_SETSCROLLWIDTHTRACKING _SCINTILLA.constants.SCI_SETSCROLLWIDTHTRACKING\n2516
-SCI_SETSEARCHFLAGS _SCINTILLA.constants.SCI_SETSEARCHFLAGS\n2198
-SCI_SETSELALPHA _SCINTILLA.constants.SCI_SETSELALPHA\n2478
-SCI_SETSELECTIONEND _SCINTILLA.constants.SCI_SETSELECTIONEND\n2144
-SCI_SETSELECTIONMODE _SCINTILLA.constants.SCI_SETSELECTIONMODE\n2422
-SCI_SETSELECTIONNANCHOR _SCINTILLA.constants.SCI_SETSELECTIONNANCHOR\n2578
-SCI_SETSELECTIONNANCHORVIRTUALSPACE _SCINTILLA.constants.SCI_SETSELECTIONNANCHORVIRTUALSPACE\n2582
-SCI_SETSELECTIONNCARET _SCINTILLA.constants.SCI_SETSELECTIONNCARET\n2576
-SCI_SETSELECTIONNCARETVIRTUALSPACE _SCINTILLA.constants.SCI_SETSELECTIONNCARETVIRTUALSPACE\n2580
-SCI_SETSELECTIONNEND _SCINTILLA.constants.SCI_SETSELECTIONNEND\n2586
-SCI_SETSELECTIONNSTART _SCINTILLA.constants.SCI_SETSELECTIONNSTART\n2584
-SCI_SETSELECTIONSTART _SCINTILLA.constants.SCI_SETSELECTIONSTART\n2142
-SCI_SETSELEOLFILLED _SCINTILLA.constants.SCI_SETSELEOLFILLED\n2480
-SCI_SETSTATUS _SCINTILLA.constants.SCI_SETSTATUS\n2382
-SCI_SETSTYLEBITS _SCINTILLA.constants.SCI_SETSTYLEBITS\n2090
-SCI_SETTABINDENTS _SCINTILLA.constants.SCI_SETTABINDENTS\n2260
-SCI_SETTABWIDTH _SCINTILLA.constants.SCI_SETTABWIDTH\n2036
-SCI_SETTARGETEND _SCINTILLA.constants.SCI_SETTARGETEND\n2192
-SCI_SETTARGETSTART _SCINTILLA.constants.SCI_SETTARGETSTART\n2190
-SCI_SETTECHNOLOGY _SCINTILLA.constants.SCI_SETTECHNOLOGY\n2630
-SCI_SETTWOPHASEDRAW _SCINTILLA.constants.SCI_SETTWOPHASEDRAW\n2284
-SCI_SETUNDOCOLLECTION _SCINTILLA.constants.SCI_SETUNDOCOLLECTION\n2012
-SCI_SETUSETABS _SCINTILLA.constants.SCI_SETUSETABS\n2124
-SCI_SETVIEWEOL _SCINTILLA.constants.SCI_SETVIEWEOL\n2356
-SCI_SETVIEWWS _SCINTILLA.constants.SCI_SETVIEWWS\n2021
-SCI_SETVIRTUALSPACEOPTIONS _SCINTILLA.constants.SCI_SETVIRTUALSPACEOPTIONS\n2596
-SCI_SETVSCROLLBAR _SCINTILLA.constants.SCI_SETVSCROLLBAR\n2280
-SCI_SETWHITESPACECHARS _SCINTILLA.constants.SCI_SETWHITESPACECHARS\n2443
-SCI_SETWHITESPACESIZE _SCINTILLA.constants.SCI_SETWHITESPACESIZE\n2086
-SCI_SETWORDCHARS _SCINTILLA.constants.SCI_SETWORDCHARS\n2077
-SCI_SETWRAPINDENTMODE _SCINTILLA.constants.SCI_SETWRAPINDENTMODE\n2472
-SCI_SETWRAPMODE _SCINTILLA.constants.SCI_SETWRAPMODE\n2268
-SCI_SETWRAPSTARTINDENT _SCINTILLA.constants.SCI_SETWRAPSTARTINDENT\n2464
-SCI_SETWRAPVISUALFLAGS _SCINTILLA.constants.SCI_SETWRAPVISUALFLAGS\n2460
-SCI_SETWRAPVISUALFLAGSLOCATION _SCINTILLA.constants.SCI_SETWRAPVISUALFLAGSLOCATION\n2462
-SCI_SETXOFFSET _SCINTILLA.constants.SCI_SETXOFFSET\n2397
-SCI_SETZOOM _SCINTILLA.constants.SCI_SETZOOM\n2373
-SCI_START _SCINTILLA.constants.SCI_START\n2000
-SCI_STYLEGETBACK _SCINTILLA.constants.SCI_STYLEGETBACK\n2482
-SCI_STYLEGETBOLD _SCINTILLA.constants.SCI_STYLEGETBOLD\n2483
-SCI_STYLEGETCASE _SCINTILLA.constants.SCI_STYLEGETCASE\n2489
-SCI_STYLEGETCHANGEABLE _SCINTILLA.constants.SCI_STYLEGETCHANGEABLE\n2492
-SCI_STYLEGETCHARACTERSET _SCINTILLA.constants.SCI_STYLEGETCHARACTERSET\n2490
-SCI_STYLEGETEOLFILLED _SCINTILLA.constants.SCI_STYLEGETEOLFILLED\n2487
-SCI_STYLEGETFONT _SCINTILLA.constants.SCI_STYLEGETFONT\n2486
-SCI_STYLEGETFORE _SCINTILLA.constants.SCI_STYLEGETFORE\n2481
-SCI_STYLEGETHOTSPOT _SCINTILLA.constants.SCI_STYLEGETHOTSPOT\n2493
-SCI_STYLEGETITALIC _SCINTILLA.constants.SCI_STYLEGETITALIC\n2484
-SCI_STYLEGETSIZE _SCINTILLA.constants.SCI_STYLEGETSIZE\n2485
-SCI_STYLEGETSIZEFRACTIONAL _SCINTILLA.constants.SCI_STYLEGETSIZEFRACTIONAL\n2062
-SCI_STYLEGETUNDERLINE _SCINTILLA.constants.SCI_STYLEGETUNDERLINE\n2488
-SCI_STYLEGETVISIBLE _SCINTILLA.constants.SCI_STYLEGETVISIBLE\n2491
-SCI_STYLEGETWEIGHT _SCINTILLA.constants.SCI_STYLEGETWEIGHT\n2064
-SCI_STYLESETBACK _SCINTILLA.constants.SCI_STYLESETBACK\n2052
-SCI_STYLESETBOLD _SCINTILLA.constants.SCI_STYLESETBOLD\n2053
-SCI_STYLESETCASE _SCINTILLA.constants.SCI_STYLESETCASE\n2060
-SCI_STYLESETCHANGEABLE _SCINTILLA.constants.SCI_STYLESETCHANGEABLE\n2099
-SCI_STYLESETCHARACTERSET _SCINTILLA.constants.SCI_STYLESETCHARACTERSET\n2066
-SCI_STYLESETEOLFILLED _SCINTILLA.constants.SCI_STYLESETEOLFILLED\n2057
-SCI_STYLESETFONT _SCINTILLA.constants.SCI_STYLESETFONT\n2056
-SCI_STYLESETFORE _SCINTILLA.constants.SCI_STYLESETFORE\n2051
-SCI_STYLESETHOTSPOT _SCINTILLA.constants.SCI_STYLESETHOTSPOT\n2409
-SCI_STYLESETITALIC _SCINTILLA.constants.SCI_STYLESETITALIC\n2054
-SCI_STYLESETSIZE _SCINTILLA.constants.SCI_STYLESETSIZE\n2055
-SCI_STYLESETSIZEFRACTIONAL _SCINTILLA.constants.SCI_STYLESETSIZEFRACTIONAL\n2061
-SCI_STYLESETUNDERLINE _SCINTILLA.constants.SCI_STYLESETUNDERLINE\n2059
-SCI_STYLESETVISIBLE _SCINTILLA.constants.SCI_STYLESETVISIBLE\n2074
-SCI_STYLESETWEIGHT _SCINTILLA.constants.SCI_STYLESETWEIGHT\n2063
-SCK_ADD _SCINTILLA.constants.SCK_ADD\n310
-SCK_BACK _SCINTILLA.constants.SCK_BACK\n8
-SCK_DELETE _SCINTILLA.constants.SCK_DELETE\n308
-SCK_DIVIDE _SCINTILLA.constants.SCK_DIVIDE\n312
-SCK_DOWN _SCINTILLA.constants.SCK_DOWN\n300
-SCK_END _SCINTILLA.constants.SCK_END\n305
-SCK_ESCAPE _SCINTILLA.constants.SCK_ESCAPE\n7
-SCK_HOME _SCINTILLA.constants.SCK_HOME\n304
-SCK_INSERT _SCINTILLA.constants.SCK_INSERT\n309
-SCK_LEFT _SCINTILLA.constants.SCK_LEFT\n302
-SCK_MENU _SCINTILLA.constants.SCK_MENU\n315
-SCK_NEXT _SCINTILLA.constants.SCK_NEXT\n307
-SCK_PRIOR _SCINTILLA.constants.SCK_PRIOR\n306
-SCK_RETURN _SCINTILLA.constants.SCK_RETURN\n13
-SCK_RIGHT _SCINTILLA.constants.SCK_RIGHT\n303
-SCK_RWIN _SCINTILLA.constants.SCK_RWIN\n314
-SCK_SUBTRACT _SCINTILLA.constants.SCK_SUBTRACT\n311
-SCK_TAB _SCINTILLA.constants.SCK_TAB\n9
-SCK_UP _SCINTILLA.constants.SCK_UP\n301
-SCK_WIN _SCINTILLA.constants.SCK_WIN\n313
-SCLEX_AUTOMATIC _SCINTILLA.constants.SCLEX_AUTOMATIC\n1000
-SCLEX_CONTAINER _SCINTILLA.constants.SCLEX_CONTAINER\n0
-SCLEX_LPEG _SCINTILLA.constants.SCLEX_LPEG\n999
-SCMOD_ALT _SCINTILLA.constants.SCMOD_ALT\n4
-SCMOD_CTRL _SCINTILLA.constants.SCMOD_CTRL\n2
-SCMOD_META _SCINTILLA.constants.SCMOD_META\n16
-SCMOD_NORM _SCINTILLA.constants.SCMOD_NORM\n0
-SCMOD_SHIFT _SCINTILLA.constants.SCMOD_SHIFT\n1
-SCMOD_SUPER _SCINTILLA.constants.SCMOD_SUPER\n8
SCN_AUTOCCANCELLED _SCINTILLA.constants.SCN_AUTOCCANCELLED\n2026
SCN_AUTOCCHARDELETED _SCINTILLA.constants.SCN_AUTOCCHARDELETED\n2027
SCN_AUTOCSELECTION _SCINTILLA.constants.SCN_AUTOCSELECTION\n2022
@@ -552,7 +262,6 @@ SCN_KEY _SCINTILLA.constants.SCN_KEY\n2005
SCN_MACRORECORD _SCINTILLA.constants.SCN_MACRORECORD\n2009
SCN_MARGINCLICK _SCINTILLA.constants.SCN_MARGINCLICK\n2010
SCN_MODIFIED _SCINTILLA.constants.SCN_MODIFIED\n2008
-SCN_MODIFYATTEMPTRO _SCINTILLA.constants.SCN_MODIFYATTEMPTRO\n2004
SCN_NEEDSHOWN _SCINTILLA.constants.SCN_NEEDSHOWN\n2011
SCN_PAINTED _SCINTILLA.constants.SCN_PAINTED\n2013
SCN_SAVEPOINTLEFT _SCINTILLA.constants.SCN_SAVEPOINTLEFT\n2003
@@ -562,199 +271,14 @@ SCN_UPDATEUI _SCINTILLA.constants.SCN_UPDATEUI\n2007
SCN_URIDROPPED _SCINTILLA.constants.SCN_URIDROPPED\n2015
SCN_USERLISTSELECTION _SCINTILLA.constants.SCN_USERLISTSELECTION\n2014
SCN_ZOOM _SCINTILLA.constants.SCN_ZOOM\n2018
-SCVS_NONE _SCINTILLA.constants.SCVS_NONE\n0
-SCVS_RECTANGULARSELECTION _SCINTILLA.constants.SCVS_RECTANGULARSELECTION\n1
-SCVS_USERACCESSIBLE _SCINTILLA.constants.SCVS_USERACCESSIBLE\n2
-SCWS_INVISIBLE _SCINTILLA.constants.SCWS_INVISIBLE\n0
-SCWS_VISIBLEAFTERINDENT _SCINTILLA.constants.SCWS_VISIBLEAFTERINDENT\n2
-SCWS_VISIBLEALWAYS _SCINTILLA.constants.SCWS_VISIBLEALWAYS\n1
-SC_ALPHA_NOALPHA _SCINTILLA.constants.SC_ALPHA_NOALPHA\n256
-SC_ALPHA_OPAQUE _SCINTILLA.constants.SC_ALPHA_OPAQUE\n255
-SC_ALPHA_TRANSPARENT _SCINTILLA.constants.SC_ALPHA_TRANSPARENT\n0
-SC_AUTOMATICFOLD_CHANGE _SCINTILLA.constants.SC_AUTOMATICFOLD_CHANGE\n4
-SC_AUTOMATICFOLD_CLICK _SCINTILLA.constants.SC_AUTOMATICFOLD_CLICK\n2
-SC_AUTOMATICFOLD_SHOW _SCINTILLA.constants.SC_AUTOMATICFOLD_SHOW\n1
-SC_CACHE_CARET _SCINTILLA.constants.SC_CACHE_CARET\n1
-SC_CACHE_DOCUMENT _SCINTILLA.constants.SC_CACHE_DOCUMENT\n3
-SC_CACHE_NONE _SCINTILLA.constants.SC_CACHE_NONE\n0
-SC_CACHE_PAGE _SCINTILLA.constants.SC_CACHE_PAGE\n2
-SC_CARETSTICKY_OFF _SCINTILLA.constants.SC_CARETSTICKY_OFF\n0
-SC_CARETSTICKY_ON _SCINTILLA.constants.SC_CARETSTICKY_ON\n1
-SC_CARETSTICKY_WHITESPACE _SCINTILLA.constants.SC_CARETSTICKY_WHITESPACE\n2
-SC_CASEINSENSITIVEBEHAVIOUR_IGNORECASE _SCINTILLA.constants.SC_CASEINSENSITIVEBEHAVIOUR_IGNORECASE\n1
-SC_CASEINSENSITIVEBEHAVIOUR_RESPECTCASE _SCINTILLA.constants.SC_CASEINSENSITIVEBEHAVIOUR_RESPECTCASE\n0
-SC_CASE_LOWER _SCINTILLA.constants.SC_CASE_LOWER\n2
-SC_CASE_MIXED _SCINTILLA.constants.SC_CASE_MIXED\n0
-SC_CASE_UPPER _SCINTILLA.constants.SC_CASE_UPPER\n1
-SC_CHARSET_8859_15 _SCINTILLA.constants.SC_CHARSET_8859_15\n1000
-SC_CHARSET_ANSI _SCINTILLA.constants.SC_CHARSET_ANSI\n0
-SC_CHARSET_ARABIC _SCINTILLA.constants.SC_CHARSET_ARABIC\n178
-SC_CHARSET_BALTIC _SCINTILLA.constants.SC_CHARSET_BALTIC\n186
-SC_CHARSET_CHINESEBIG5 _SCINTILLA.constants.SC_CHARSET_CHINESEBIG5\n136
-SC_CHARSET_CYRILLIC _SCINTILLA.constants.SC_CHARSET_CYRILLIC\n1251
-SC_CHARSET_DEFAULT _SCINTILLA.constants.SC_CHARSET_DEFAULT\n1
-SC_CHARSET_EASTEUROPE _SCINTILLA.constants.SC_CHARSET_EASTEUROPE\n238
-SC_CHARSET_GB2312 _SCINTILLA.constants.SC_CHARSET_GB2312\n134
-SC_CHARSET_GREEK _SCINTILLA.constants.SC_CHARSET_GREEK\n161
-SC_CHARSET_HANGUL _SCINTILLA.constants.SC_CHARSET_HANGUL\n129
-SC_CHARSET_HEBREW _SCINTILLA.constants.SC_CHARSET_HEBREW\n177
-SC_CHARSET_JOHAB _SCINTILLA.constants.SC_CHARSET_JOHAB\n130
-SC_CHARSET_MAC _SCINTILLA.constants.SC_CHARSET_MAC\n77
-SC_CHARSET_OEM _SCINTILLA.constants.SC_CHARSET_OEM\n255
-SC_CHARSET_RUSSIAN _SCINTILLA.constants.SC_CHARSET_RUSSIAN\n204
-SC_CHARSET_SHIFTJIS _SCINTILLA.constants.SC_CHARSET_SHIFTJIS\n128
-SC_CHARSET_SYMBOL _SCINTILLA.constants.SC_CHARSET_SYMBOL\n2
-SC_CHARSET_THAI _SCINTILLA.constants.SC_CHARSET_THAI\n222
-SC_CHARSET_TURKISH _SCINTILLA.constants.SC_CHARSET_TURKISH\n162
-SC_CHARSET_VIETNAMESE _SCINTILLA.constants.SC_CHARSET_VIETNAMESE\n163
-SC_CP_UTF8 _SCINTILLA.constants.SC_CP_UTF8\n65001
-SC_CURSORARROW _SCINTILLA.constants.SC_CURSORARROW\n2
-SC_CURSORNORMAL _SCINTILLA.constants.SC_CURSORNORMAL\n-1
-SC_CURSORREVERSEARROW _SCINTILLA.constants.SC_CURSORREVERSEARROW\n7
-SC_CURSORWAIT _SCINTILLA.constants.SC_CURSORWAIT\n4
-SC_EFF_QUALITY_ANTIALIASED _SCINTILLA.constants.SC_EFF_QUALITY_ANTIALIASED\n2
-SC_EFF_QUALITY_DEFAULT _SCINTILLA.constants.SC_EFF_QUALITY_DEFAULT\n0
-SC_EFF_QUALITY_LCD_OPTIMIZED _SCINTILLA.constants.SC_EFF_QUALITY_LCD_OPTIMIZED\n3
-SC_EFF_QUALITY_MASK _SCINTILLA.constants.SC_EFF_QUALITY_MASK\n15
-SC_EFF_QUALITY_NON_ANTIALIASED _SCINTILLA.constants.SC_EFF_QUALITY_NON_ANTIALIASED\n1
-SC_EOL_CR _SCINTILLA.constants.SC_EOL_CR\n1
-SC_EOL_CRLF _SCINTILLA.constants.SC_EOL_CRLF\n0
-SC_EOL_LF _SCINTILLA.constants.SC_EOL_LF\n2
-SC_FOLDACTION_CONTRACT _SCINTILLA.constants.SC_FOLDACTION_CONTRACT\n0
-SC_FOLDACTION_EXPAND _SCINTILLA.constants.SC_FOLDACTION_EXPAND\n1
-SC_FOLDACTION_TOGGLE _SCINTILLA.constants.SC_FOLDACTION_TOGGLE\n2
-SC_FOLDFLAG_LEVELNUMBERS _SCINTILLA.constants.SC_FOLDFLAG_LEVELNUMBERS\n64
-SC_FOLDFLAG_LINEAFTER_CONTRACTED _SCINTILLA.constants.SC_FOLDFLAG_LINEAFTER_CONTRACTED\n16
-SC_FOLDFLAG_LINEAFTER_EXPANDED _SCINTILLA.constants.SC_FOLDFLAG_LINEAFTER_EXPANDED\n8
-SC_FOLDFLAG_LINEBEFORE_CONTRACTED _SCINTILLA.constants.SC_FOLDFLAG_LINEBEFORE_CONTRACTED\n4
-SC_FOLDFLAG_LINEBEFORE_EXPANDED _SCINTILLA.constants.SC_FOLDFLAG_LINEBEFORE_EXPANDED\n2
-SC_FOLDLEVELBASE _SCINTILLA.constants.SC_FOLDLEVELBASE\n1024
-SC_FOLDLEVELHEADERFLAG _SCINTILLA.constants.SC_FOLDLEVELHEADERFLAG\n8192
-SC_FOLDLEVELNUMBERMASK _SCINTILLA.constants.SC_FOLDLEVELNUMBERMASK\n4095
-SC_FOLDLEVELWHITEFLAG _SCINTILLA.constants.SC_FOLDLEVELWHITEFLAG\n4096
-SC_FONT_SIZE_MULTIPLIER _SCINTILLA.constants.SC_FONT_SIZE_MULTIPLIER\n100
-SC_IV_LOOKBOTH _SCINTILLA.constants.SC_IV_LOOKBOTH\n3
-SC_IV_LOOKFORWARD _SCINTILLA.constants.SC_IV_LOOKFORWARD\n2
-SC_IV_NONE _SCINTILLA.constants.SC_IV_NONE\n0
-SC_IV_REAL _SCINTILLA.constants.SC_IV_REAL\n1
-SC_LASTSTEPINUNDOREDO _SCINTILLA.constants.SC_LASTSTEPINUNDOREDO\n256
-SC_LINE_END_TYPE_DEFAULT _SCINTILLA.constants.SC_LINE_END_TYPE_DEFAULT\n0
-SC_LINE_END_TYPE_UNICODE _SCINTILLA.constants.SC_LINE_END_TYPE_UNICODE\n1
-SC_MARGINOPTION_NONE _SCINTILLA.constants.SC_MARGINOPTION_NONE\n0
-SC_MARGINOPTION_SUBLINESELECT _SCINTILLA.constants.SC_MARGINOPTION_SUBLINESELECT\n1
-SC_MARGIN_BACK _SCINTILLA.constants.SC_MARGIN_BACK\n2
-SC_MARGIN_FORE _SCINTILLA.constants.SC_MARGIN_FORE\n3
-SC_MARGIN_NUMBER _SCINTILLA.constants.SC_MARGIN_NUMBER\n1
-SC_MARGIN_RTEXT _SCINTILLA.constants.SC_MARGIN_RTEXT\n5
-SC_MARGIN_SYMBOL _SCINTILLA.constants.SC_MARGIN_SYMBOL\n0
-SC_MARGIN_TEXT _SCINTILLA.constants.SC_MARGIN_TEXT\n4
-SC_MARKNUM_FOLDER _SCINTILLA.constants.SC_MARKNUM_FOLDER\n30
-SC_MARKNUM_FOLDEREND _SCINTILLA.constants.SC_MARKNUM_FOLDEREND\n25
-SC_MARKNUM_FOLDERMIDTAIL _SCINTILLA.constants.SC_MARKNUM_FOLDERMIDTAIL\n27
-SC_MARKNUM_FOLDEROPEN _SCINTILLA.constants.SC_MARKNUM_FOLDEROPEN\n31
-SC_MARKNUM_FOLDEROPENMID _SCINTILLA.constants.SC_MARKNUM_FOLDEROPENMID\n26
-SC_MARKNUM_FOLDERSUB _SCINTILLA.constants.SC_MARKNUM_FOLDERSUB\n29
-SC_MARKNUM_FOLDERTAIL _SCINTILLA.constants.SC_MARKNUM_FOLDERTAIL\n28
-SC_MARK_ARROW _SCINTILLA.constants.SC_MARK_ARROW\n2
-SC_MARK_ARROWDOWN _SCINTILLA.constants.SC_MARK_ARROWDOWN\n6
-SC_MARK_ARROWS _SCINTILLA.constants.SC_MARK_ARROWS\n24
-SC_MARK_AVAILABLE _SCINTILLA.constants.SC_MARK_AVAILABLE\n28
-SC_MARK_BACKGROUND _SCINTILLA.constants.SC_MARK_BACKGROUND\n22
-SC_MARK_BOXMINUS _SCINTILLA.constants.SC_MARK_BOXMINUS\n14
-SC_MARK_BOXMINUSCONNECTED _SCINTILLA.constants.SC_MARK_BOXMINUSCONNECTED\n15
-SC_MARK_BOXPLUS _SCINTILLA.constants.SC_MARK_BOXPLUS\n12
-SC_MARK_BOXPLUSCONNECTED _SCINTILLA.constants.SC_MARK_BOXPLUSCONNECTED\n13
-SC_MARK_CHARACTER _SCINTILLA.constants.SC_MARK_CHARACTER\n10000
-SC_MARK_CIRCLE _SCINTILLA.constants.SC_MARK_CIRCLE\n0
-SC_MARK_CIRCLEMINUS _SCINTILLA.constants.SC_MARK_CIRCLEMINUS\n20
-SC_MARK_CIRCLEMINUSCONNECTED _SCINTILLA.constants.SC_MARK_CIRCLEMINUSCONNECTED\n21
-SC_MARK_CIRCLEPLUS _SCINTILLA.constants.SC_MARK_CIRCLEPLUS\n18
-SC_MARK_CIRCLEPLUSCONNECTED _SCINTILLA.constants.SC_MARK_CIRCLEPLUSCONNECTED\n19
-SC_MARK_DOTDOTDOT _SCINTILLA.constants.SC_MARK_DOTDOTDOT\n23
-SC_MARK_EMPTY _SCINTILLA.constants.SC_MARK_EMPTY\n5
-SC_MARK_FULLRECT _SCINTILLA.constants.SC_MARK_FULLRECT\n26
-SC_MARK_LCORNER _SCINTILLA.constants.SC_MARK_LCORNER\n10
-SC_MARK_LCORNERCURVE _SCINTILLA.constants.SC_MARK_LCORNERCURVE\n16
-SC_MARK_LEFTRECT _SCINTILLA.constants.SC_MARK_LEFTRECT\n27
-SC_MARK_MINUS _SCINTILLA.constants.SC_MARK_MINUS\n7
-SC_MARK_PIXMAP _SCINTILLA.constants.SC_MARK_PIXMAP\n25
-SC_MARK_PLUS _SCINTILLA.constants.SC_MARK_PLUS\n8
-SC_MARK_RGBAIMAGE _SCINTILLA.constants.SC_MARK_RGBAIMAGE\n30
-SC_MARK_ROUNDRECT _SCINTILLA.constants.SC_MARK_ROUNDRECT\n1
-SC_MARK_SHORTARROW _SCINTILLA.constants.SC_MARK_SHORTARROW\n4
-SC_MARK_SMALLRECT _SCINTILLA.constants.SC_MARK_SMALLRECT\n3
-SC_MARK_TCORNER _SCINTILLA.constants.SC_MARK_TCORNER\n11
-SC_MARK_TCORNERCURVE _SCINTILLA.constants.SC_MARK_TCORNERCURVE\n17
-SC_MARK_UNDERLINE _SCINTILLA.constants.SC_MARK_UNDERLINE\n29
-SC_MARK_VLINE _SCINTILLA.constants.SC_MARK_VLINE\n9
-SC_MASK_FOLDERS _SCINTILLA.constants.SC_MASK_FOLDERS\n-33554432
-SC_MAX_MARGIN _SCINTILLA.constants.SC_MAX_MARGIN\n4
-SC_MODEVENTMASKALL _SCINTILLA.constants.SC_MODEVENTMASKALL\n1048575
-SC_MOD_BEFOREDELETE _SCINTILLA.constants.SC_MOD_BEFOREDELETE\n2048
-SC_MOD_BEFOREINSERT _SCINTILLA.constants.SC_MOD_BEFOREINSERT\n1024
-SC_MOD_CHANGEANNOTATION _SCINTILLA.constants.SC_MOD_CHANGEANNOTATION\n131072
-SC_MOD_CHANGEFOLD _SCINTILLA.constants.SC_MOD_CHANGEFOLD\n8
-SC_MOD_CHANGEINDICATOR _SCINTILLA.constants.SC_MOD_CHANGEINDICATOR\n16384
-SC_MOD_CHANGELINESTATE _SCINTILLA.constants.SC_MOD_CHANGELINESTATE\n32768
-SC_MOD_CHANGEMARGIN _SCINTILLA.constants.SC_MOD_CHANGEMARGIN\n65536
-SC_MOD_CHANGEMARKER _SCINTILLA.constants.SC_MOD_CHANGEMARKER\n512
-SC_MOD_CHANGESTYLE _SCINTILLA.constants.SC_MOD_CHANGESTYLE\n4
-SC_MOD_CONTAINER _SCINTILLA.constants.SC_MOD_CONTAINER\n262144
-SC_MOD_DELETETEXT _SCINTILLA.constants.SC_MOD_DELETETEXT\n2
-SC_MOD_INSERTTEXT _SCINTILLA.constants.SC_MOD_INSERTTEXT\n1
-SC_MOD_LEXERSTATE _SCINTILLA.constants.SC_MOD_LEXERSTATE\n524288
-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
-SC_PRINT_BLACKONWHITE _SCINTILLA.constants.SC_PRINT_BLACKONWHITE\n2
-SC_PRINT_COLOURONWHITE _SCINTILLA.constants.SC_PRINT_COLOURONWHITE\n3
-SC_PRINT_COLOURONWHITEDEFAULTBG _SCINTILLA.constants.SC_PRINT_COLOURONWHITEDEFAULTBG\n4
-SC_PRINT_INVERTLIGHT _SCINTILLA.constants.SC_PRINT_INVERTLIGHT\n1
-SC_PRINT_NORMAL _SCINTILLA.constants.SC_PRINT_NORMAL\n0
-SC_SEL_LINES _SCINTILLA.constants.SC_SEL_LINES\n2
-SC_SEL_RECTANGLE _SCINTILLA.constants.SC_SEL_RECTANGLE\n1
-SC_SEL_STREAM _SCINTILLA.constants.SC_SEL_STREAM\n0
-SC_SEL_THIN _SCINTILLA.constants.SC_SEL_THIN\n3
-SC_STARTACTION _SCINTILLA.constants.SC_STARTACTION\n8192
-SC_STATUS_BADALLOC _SCINTILLA.constants.SC_STATUS_BADALLOC\n2
-SC_STATUS_FAILURE _SCINTILLA.constants.SC_STATUS_FAILURE\n1
-SC_STATUS_OK _SCINTILLA.constants.SC_STATUS_OK\n0
-SC_TECHNOLOGY_DEFAULT _SCINTILLA.constants.SC_TECHNOLOGY_DEFAULT\n0
-SC_TECHNOLOGY_DIRECTWRITE _SCINTILLA.constants.SC_TECHNOLOGY_DIRECTWRITE\n1
-SC_TIME_FOREVER _SCINTILLA.constants.SC_TIME_FOREVER\n10000000
-SC_TYPE_BOOLEAN _SCINTILLA.constants.SC_TYPE_BOOLEAN\n0
-SC_TYPE_INTEGER _SCINTILLA.constants.SC_TYPE_INTEGER\n1
-SC_TYPE_STRING _SCINTILLA.constants.SC_TYPE_STRING\n2
-SC_UPDATE_CONTENT _SCINTILLA.constants.SC_UPDATE_CONTENT\n1
-SC_UPDATE_H_SCROLL _SCINTILLA.constants.SC_UPDATE_H_SCROLL\n8
-SC_UPDATE_SELECTION _SCINTILLA.constants.SC_UPDATE_SELECTION\n2
-SC_UPDATE_V_SCROLL _SCINTILLA.constants.SC_UPDATE_V_SCROLL\n4
-SC_WEIGHT_BOLD _SCINTILLA.constants.SC_WEIGHT_BOLD\n700
-SC_WEIGHT_NORMAL _SCINTILLA.constants.SC_WEIGHT_NORMAL\n400
-SC_WEIGHT_SEMIBOLD _SCINTILLA.constants.SC_WEIGHT_SEMIBOLD\n600
-SC_WRAPINDENT_FIXED _SCINTILLA.constants.SC_WRAPINDENT_FIXED\n0
-SC_WRAPINDENT_INDENT _SCINTILLA.constants.SC_WRAPINDENT_INDENT\n2
-SC_WRAPINDENT_SAME _SCINTILLA.constants.SC_WRAPINDENT_SAME\n1
-SC_WRAPVISUALFLAGLOC_DEFAULT _SCINTILLA.constants.SC_WRAPVISUALFLAGLOC_DEFAULT\n0
-SC_WRAPVISUALFLAGLOC_END_BY_TEXT _SCINTILLA.constants.SC_WRAPVISUALFLAGLOC_END_BY_TEXT\n1
-SC_WRAPVISUALFLAGLOC_START_BY_TEXT _SCINTILLA.constants.SC_WRAPVISUALFLAGLOC_START_BY_TEXT\n2
-SC_WRAPVISUALFLAG_END _SCINTILLA.constants.SC_WRAPVISUALFLAG_END\n1
-SC_WRAPVISUALFLAG_MARGIN _SCINTILLA.constants.SC_WRAPVISUALFLAG_MARGIN\n4
-SC_WRAPVISUALFLAG_NONE _SCINTILLA.constants.SC_WRAPVISUALFLAG_NONE\n0
-SC_WRAPVISUALFLAG_START _SCINTILLA.constants.SC_WRAPVISUALFLAG_START\n2
-SC_WRAP_CHAR _SCINTILLA.constants.SC_WRAP_CHAR\n2
-SC_WRAP_NONE _SCINTILLA.constants.SC_WRAP_NONE\n0
-SC_WRAP_WORD _SCINTILLA.constants.SC_WRAP_WORD\n1
+SEL_LINES _SCINTILLA.constants.SEL_LINES\n2
+SEL_RECTANGLE _SCINTILLA.constants.SEL_RECTANGLE\n1
+SEL_STREAM _SCINTILLA.constants.SEL_STREAM\n0
+SEL_THIN _SCINTILLA.constants.SEL_THIN\n3
SNAPOPEN_MAX io.SNAPOPEN_MAX (number)\nThe maximum number of files to list in the snapopen dialog.\nThe default value is `1000`.
+STARTACTION _SCINTILLA.constants.STARTACTION\n8192
STRING lexer.STRING (string)\nThe token name for string tokens.
-STRIP_TRAILING_SPACES textadept.editing.STRIP_TRAILING_SPACES (bool)\nStrip trailing whitespace on file save.\nThe default value is `true`.
+STRIP_TRAILING_SPACES textadept.editing.STRIP_TRAILING_SPACES (bool)\nStrip trailing whitespace before saving files.\nThe default value is `true`.
STYLE_BRACEBAD _SCINTILLA.constants.STYLE_BRACEBAD\n35
STYLE_BRACEBAD lexer.STYLE_BRACEBAD (string)\nThe style used for unmatched brace characters.
STYLE_BRACELIGHT _SCINTILLA.constants.STYLE_BRACELIGHT\n34
@@ -780,7 +304,6 @@ STYLE_LASTPREDEFINED _SCINTILLA.constants.STYLE_LASTPREDEFINED\n39
STYLE_LINENUMBER _SCINTILLA.constants.STYLE_LINENUMBER\n33
STYLE_LINENUMBER lexer.STYLE_LINENUMBER (string)\nThe style used for all margins except fold margins.
STYLE_MAX _SCINTILLA.constants.STYLE_MAX\n255
-STYLE_NOTHING lexer.STYLE_NOTHING (string)\nThe style typically used for no styling.
STYLE_NUMBER lexer.STYLE_NUMBER (string)\nThe style typically used for numbers.
STYLE_OPERATOR lexer.STYLE_OPERATOR (string)\nThe style typically used for operators.
STYLE_PREPROCESSOR lexer.STYLE_PREPROCESSOR (string)\nThe style typically used for preprocessor statements.
@@ -789,12 +312,16 @@ STYLE_STRING lexer.STYLE_STRING (string)\nThe style typically used for strings.
STYLE_TYPE lexer.STYLE_TYPE (string)\nThe style typically used for static types.
STYLE_VARIABLE lexer.STYLE_VARIABLE (string)\nThe style typically used for variables.
STYLE_WHITESPACE lexer.STYLE_WHITESPACE (string)\nThe style typically used for whitespace.
+TIME_FOREVER _SCINTILLA.constants.TIME_FOREVER\n10000000
TYPE lexer.TYPE (string)\nThe token name for type tokens.
TYPEOVER_CHARS textadept.editing.TYPEOVER_CHARS (bool)\nMove over closing brace and quote characters under the caret when typing\nthem instead of inserting them.\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)\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.
+UPDATE_CONTENT _SCINTILLA.constants.UPDATE_CONTENT\n1
+UPDATE_H_SCROLL _SCINTILLA.constants.UPDATE_H_SCROLL\n8
+UPDATE_SELECTION _SCINTILLA.constants.UPDATE_SELECTION\n2
+UPDATE_UI events.UPDATE_UI (string)\nEmitted when buffer content, styling, selection, or scroll position\nchanges.
+UPDATE_V_SCROLL _SCINTILLA.constants.UPDATE_V_SCROLL\n4
+URI_DROPPED events.URI_DROPPED (string)\nEmitted after dragging and dropping a URI into the view.\nArguments:\n\n* _`text`_: The UTF-8-encoded URI dropped.
+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 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)\nEmitted right after switching to another view.\nEmitted by `ui.goto_view()`.
@@ -802,17 +329,36 @@ VIEW_BEFORE_SWITCH events.VIEW_BEFORE_SWITCH (string)\nEmitted right before swit
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
+VS_NONE _SCINTILLA.constants.VS_NONE\n0
+VS_RECTANGULARSELECTION _SCINTILLA.constants.VS_RECTANGULARSELECTION\n1
+VS_USERACCESSIBLE _SCINTILLA.constants.VS_USERACCESSIBLE\n2
WHITESPACE lexer.WHITESPACE (string)\nThe token name for whitespace tokens.
-WIN32 _G.WIN32 (bool)\nIf Textadept is running on Windows, this flag is `true`.
+WIN32 _G.WIN32 (bool)\nWhether or not Textadept is running on Windows.
+WRAPINDENT_FIXED _SCINTILLA.constants.WRAPINDENT_FIXED\n0
+WRAPINDENT_INDENT _SCINTILLA.constants.WRAPINDENT_INDENT\n2
+WRAPINDENT_SAME _SCINTILLA.constants.WRAPINDENT_SAME\n1
+WRAPVISUALFLAGLOC_DEFAULT _SCINTILLA.constants.WRAPVISUALFLAGLOC_DEFAULT\n0
+WRAPVISUALFLAGLOC_END_BY_TEXT _SCINTILLA.constants.WRAPVISUALFLAGLOC_END_BY_TEXT\n1
+WRAPVISUALFLAGLOC_START_BY_TEXT _SCINTILLA.constants.WRAPVISUALFLAGLOC_START_BY_TEXT\n2
+WRAPVISUALFLAG_END _SCINTILLA.constants.WRAPVISUALFLAG_END\n1
+WRAPVISUALFLAG_MARGIN _SCINTILLA.constants.WRAPVISUALFLAG_MARGIN\n4
+WRAPVISUALFLAG_NONE _SCINTILLA.constants.WRAPVISUALFLAG_NONE\n0
+WRAPVISUALFLAG_START _SCINTILLA.constants.WRAPVISUALFLAG_START\n2
+WRAP_CHAR _SCINTILLA.constants.WRAP_CHAR\n2
+WRAP_NONE _SCINTILLA.constants.WRAP_NONE\n0
+WRAP_WORD _SCINTILLA.constants.WRAP_WORD\n1
+WS_INVISIBLE _SCINTILLA.constants.WS_INVISIBLE\n0
+WS_VISIBLEAFTERINDENT _SCINTILLA.constants.WS_VISIBLEAFTERINDENT\n2
+WS_VISIBLEALWAYS _SCINTILLA.constants.WS_VISIBLEALWAYS\n1
_BUFFERS _G._BUFFERS (table)\nTable of all open buffers in Textadept.\nNumeric keys have buffer values and buffer keys have their associated numeric\nkeys.\n@see _G.buffer
-_CHARSET _G._CHARSET (string)\nThe character set encoding of the filesystem.\nThis is used when working with files.
+_CHARSET _G._CHARSET (string)\nThe character encoding of the filesystem.\nThis is used when working with files.
_G _G._G (module)\nLua _G module.
_G _G._G (table)\nA global variable (not a function) that holds the global environment\n(see §2.2). Lua itself does not use this variable; changing its value does\nnot affect any environment, nor vice-versa.
-_HOME _G._HOME (string)\nThe path to the directory containing Textadept.
+_HOME _G._HOME (string)\nThe path to Textadept's home, or installation directory.
_L _G._L (module)\nMap of all messages used by Textadept to their localized form.\nIf the table does not contain the localized version of a given message, it\nreturns a string that starts with "No Localization:" via a metamethod.
_LEXBYLINE lexer.lexer._LEXBYLINE (table)\nIndicates the lexer matches text by whole lines instead of\n arbitrary chunks.\n The default value is `false`. Line lexers cannot look ahead to subsequent\n lines.
_M _G._M (module)\nA table of loaded Textadept language modules.
-_NAME lexer.lexer._NAME (table)\nThe string name of the lexer in lowercase.
+_NAME lexer.lexer._NAME (table)\nThe string name of the lexer.
_RELEASE _G._RELEASE (string)\nThe Textadept release version string.
_RULES lexer.lexer._RULES (table)\nA map of rule name keys with their associated LPeg pattern\n values for the lexer.\n This is constructed from the lexer's `_rules` table and accessible to other\n lexers for embedded lexer applications like modifying parent or child\n rules.
_SCINTILLA _G._SCINTILLA (module)\nScintilla constants, functions, and properties.\nDo not modify anything in this module. Doing so will have unpredictable\nconsequences.
@@ -825,7 +371,7 @@ _foldsymbols lexer.lexer._foldsymbols (table)\nA table of recognized fold points
_insert 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 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 ui._print(buffer_type, ...)\nHelper function for printing messages to the buffer of type *buffer_type*.\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 ui._print(_L['[Message Buffer]'], message)
+_print ui._print(buffer_type, ...)\nPrints the given string messages to the buffer of type *buffer_type*.\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 ui._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 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 map of non-predefined token names to styles.\n Remember to use token names, not rule names. It is recommended to use\n predefined styles or color-agnostic styles derived from predefined styles\n to ensure compatibility with user color themes.
@@ -837,15 +383,15 @@ add_trigger textadept.adeptsense.add_trigger(sense, c, only_fields, only_functio
additional_caret_fore buffer.additional_caret_fore (number)\nThe foreground color, in "0xBBGGRR" format, of additional carets.
additional_carets_blink buffer.additional_carets_blink (bool)\nAllow additional carets to blink.\nThe default value is `true`.
additional_carets_visible buffer.additional_carets_visible (bool)\nDisplay additional carets.\nThe default value is `true`.
-additional_sel_alpha buffer.additional_sel_alpha (number)\nThe alpha value, ranging from `0` (transparent) to `255` (opaque), of\nadditional selections.\nThe default value is `buffer.SC_ALPHA_NOALPHA`, for no alpha.
+additional_sel_alpha buffer.additional_sel_alpha (number)\nThe alpha value, ranging from `0` (transparent) to `255` (opaque), of\nadditional selections.\nThe default value is `buffer.ALPHA_NOALPHA`, for no alpha.
additional_sel_back buffer.additional_sel_back (number, Write-only)\nThe background color, in "0xBBGGRR" format, of additional selections.\nThis field has no effect when calling `buffer:set_sel_back(false, ...)`.
additional_sel_fore buffer.additional_sel_fore (number, Write-only)\nThe foreground color, in "0xBBGGRR" format, of additional selections.\nThis field has no effect when calling `buffer:set_sel_fore(false, ...)`.
additional_selection_typing buffer.additional_selection_typing (bool)\nType into multiple selections.\nThe default value is `false`.
adeptsense textadept.adeptsense (module)\nCode autocompletion and documentation support for programming languages.
-all_lines_visible buffer.all_lines_visible (bool, Read-only)\nWhether or not all lines in the buffer are visible.
+all_lines_visible buffer.all_lines_visible (bool, Read-only)\nWhether or not all lines are visible.
allocate_extended_styles buffer.allocate_extended_styles(buffer, num_styles)\nAllocates an additional *num_styles* number of styles for use by margins or\nannotations and returns the starting style number of the new range.\nThese styles are outside the 0..255 range used by lexers.\n@param buffer The global buffer\n@param num_styles The number of additional styles to allocate.\n@return number\n@see annotation_style_offset\n@see margin_style_offset
-alnum lexer.alnum (pattern)\nA pattern matching any alphanumeric character (`A-Z`, `a-z`, `0-9`).
-alpha lexer.alpha (pattern)\nA pattern matching any alphabetic character (`A-Z`, `a-z`).
+alnum lexer.alnum (pattern)\nA pattern that matches any alphanumeric character ('A'-'Z', 'a'-'z',\n '0'-'9').
+alpha lexer.alpha (pattern)\nA pattern that matches any alphabetic character ('A'-'Z', 'a'-'z').
always_show_globals textadept.adeptsense.always_show_globals (bool)\nInclude globals in the list of completions offered.\nGlobals are classes, functions, and fields that do not belong to another\nclass. They are contained in `sense.completions['']`.\nThe default value is `true`.
anchor buffer.anchor (number)\nThe position of the anchor.
annotation_clear_all buffer.annotation_clear_all(buffer)\nClears annotations from all lines.\n@param buffer The global buffer.
@@ -854,41 +400,41 @@ annotation_style buffer.annotation_style (table)\nTable of style numbers for ann
annotation_style_offset buffer.annotation_style_offset (number)\nThe beginning of the range of style numbers used for annotations.\nAlways set this to the result of\n`buffer.allocate_extended_styles`.\nAnnotation styles may be completely separated from standard text styles by\nsetting a style offset. For example, when set to `512`, annotation styles\nare numbered from `512` upto `767` so they do not overlap styles set by\nlexers (or margins if margins offset is `256`). Each style number set with\n`annotation_style` has the offset added before looking up the style.\nThe default value is `0`.
annotation_text buffer.annotation_text (table)\nTable of annotation text for line numbers starting from zero.
annotation_visible buffer.annotation_visible (number)\nThe annotation visibility mode.\n\n* `buffer.ANNOTATION_HIDDEN`\n Annotations are invisible.\n* `buffer.ANNOTATION_STANDARD`\n Draw annotations left-justified with no decoration.\n* `buffer.ANNOTATION_BOXED`\n Indent annotations to match the annotated text and outline them with a\n box.\n\nThe default value is `buffer.ANNOTATION_HIDDEN`.
-any lexer.any (pattern)\nA pattern matching any single character.
+any lexer.any (pattern)\nA pattern that matches any single character.
any_char lexer.any_char (pattern)\nA `DEFAULT` token matching any single character, useful in a fallback rule\nfor a grammar.
api_files textadept.adeptsense.api_files (table)\nA list of api files used by `show_apidoc()`.\nEach line in the api file contains a symbol name (not the full symbol)\nfollowed by a space character and then the symbol's documentation. Since\nthere may be many duplicate symbol names, it is recommended to put the full\nsymbol and arguments, if any, on the first line. (e.g. `Class.function(arg1,\narg2, ...)`). This allows the correct documentation to be shown based on the\ncurrent context. In the documentation, newlines are represented with "\n". A\n'\' before "\n" escapes the newline.
append_text buffer.append_text(buffer, text)\nAppends string *text* to the end of the buffer without modifying any existing\nselections or scrolling the text into view.\n@param buffer The global buffer.\n@param text The text to append.
arg _G.arg (table)\nTable of command line parameters passed to Textadept.\n@see _G.args
args _G.args (module)\nProcesses command line arguments for Textadept.
arshift bit32.arshift(x, disp)\nReturns the number `x` shifted `disp` bits to the right. The number `disp`\nmay be any representable integer. Negative displacements shift to the left.\n\nThis shift operation is what is called arithmetic shift. Vacant bits on the\nleft are filled with copies of the higher bit of `x`; vacant bits on the\nright are filled with zeros. In particular, displacements with absolute\nvalues higher than 31 result in zero or `0xFFFFFFFF` (all original bits are\nshifted out).
-ascii lexer.ascii (pattern)\nA pattern matching any ASCII character (`0`..`127`).
+ascii lexer.ascii (pattern)\nA pattern that matches any ASCII character (codes 0 to 127).
asin math.asin(x)\nReturns the arc sine of `x` (in radians).
assert _G.assert(v [, message])\nIssues an error when the value of its argument `v` is false (i.e.,\nnil or false); otherwise, returns all its arguments. `message` is an error\nmessage; when absent, it defaults to "assertion failed!"
atan math.atan(x)\nReturns the arc tangent of `x` (in radians).
atan2 math.atan2(y, x)\nReturns the arc tangent of `y/x` (in radians), but uses the signs\nof both parameters to find the quadrant of the result. (It also handles\ncorrectly the case of `x` being zero.)
attributes lfs.attributes(filepath [, aname])\nReturns a table with the file attributes corresponding to filepath (or nil\nfollowed by an error message in case of error). If the second optional\nargument is given, then only the value of the named attribute is returned\n(this use is equivalent to lfs.attributes(filepath).aname, but the table is\nnot created and only one attribute is retrieved from the O.S.). The\nattributes are described as follows; attribute mode is a string, all the\nothers are numbers, and the time related attributes use the same time\nreference of os.time:\n dev: on Unix systems, this represents the device that the inode resides on.\n On Windows systems, represents the drive number of the disk containing\n the file\n ino: on Unix systems, this represents the inode number. On Windows systems\n this has no meaning\n mode: string representing the associated protection mode (the values could\n be file, directory, link, socket, named pipe, char device, block\n device or other)\n nlink: number of hard links to the file\n uid: user-id of owner (Unix only, always 0 on Windows)\n gid: group-id of owner (Unix only, always 0 on Windows)\n rdev: on Unix systems, represents the device type, for special file inodes.\n On Windows systems represents the same as dev\n access: time of last access\n modification: time of last data modification\n change: time of last file status change\n size: file size, in bytes\n blocks: block allocated for file; (Unix only)\n blksize: optimal file system I/O blocksize; (Unix only)\n\nThis function uses stat internally thus if the given filepath is a symbolic\nlink, it is followed (if it points to another link the chain is followed\nrecursively) and the information is about the file it refers to. To obtain\ninformation about the link itself, see function lfs.symlinkattributes.
auto_c_active buffer.auto_c_active(buffer)\nReturns whether or not the autocompletion list is visible.\n@param buffer The global buffer.\n@return bool
-auto_c_auto_hide buffer.auto_c_auto_hide (bool)\nAutomatically hide the autocompletion list when no entries match typed\ntext.\nThe default value is `true`.
+auto_c_auto_hide buffer.auto_c_auto_hide (bool)\nAutomatically hide the autocompletion or user list when no entries match\ntyped text.\nThe default value is `true`.
auto_c_cancel buffer.auto_c_cancel(buffer)\nCancels the autocompletion list.\n@param buffer The global buffer.
-auto_c_cancel_at_start buffer.auto_c_cancel_at_start (bool)\nCancel autocompletion when backspacing to a position before where\nautocompletion started instead of before the word being completed.\nThe default value is `true`.
-auto_c_case_insensitive_behaviour buffer.auto_c_case_insensitive_behaviour (number)\nThe behavior mode for case insensitive autocompletion when\n`buffer.auto_c_ignore_case` is `true`.\n\n* `buffer.SC_CASEINSENSITIVEBEHAVIOR_RESPECTCASE`\n Prefer to select case-sensitive matches.\n* `buffer.SC_CASEINSENSITIVEBEHAVIOR_IGNORECASE`\n No preference.\n\nThe default value is `buffer.SC_CASEINSENSITIVEBEHAVIOR_RESPECTCASE`.
+auto_c_cancel_at_start buffer.auto_c_cancel_at_start (bool)\nCancel an autocompletion or user list when backspacing to a position before\nwhere autocompletion started instead of before the word being completed.\nThe default value is `true`.
+auto_c_case_insensitive_behaviour buffer.auto_c_case_insensitive_behaviour (number)\nThe behavior mode for a case insensitive autocompletion or user list when\n`buffer.auto_c_ignore_case` is `true`.\n\n* `buffer.CASEINSENSITIVEBEHAVIOR_RESPECTCASE`\n Prefer to select case-sensitive matches.\n* `buffer.CASEINSENSITIVEBEHAVIOR_IGNORECASE`\n No preference.\n\nThe default value is `buffer.CASEINSENSITIVEBEHAVIOR_RESPECTCASE`.
auto_c_choose_single buffer.auto_c_choose_single (bool)\nAutomatically choose the item in a single-item autocompletion list.\nThe default value is `false`.
auto_c_complete buffer.auto_c_complete(buffer)\nAutocompletes the selected word in the autocompletion list.\n@param buffer The global buffer.
auto_c_current buffer.auto_c_current (number, Read-only)\nThe index of the currently selected item in the autocompletion list.
auto_c_current_text buffer.auto_c_current_text (string, Read-only)\nThe text of the currently selected item in the autocompletion list.
auto_c_drop_rest_of_word buffer.auto_c_drop_rest_of_word (bool)\nDelete word characters after autocompleted text.\nThe default value is `false`.
-auto_c_fill_ups buffer.auto_c_fill_ups (string, Write-only)\nThe set of characters that choose the currently selected item in an\nautocompletion list when typed.\nThe default value is an empty string.
-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_fill_ups buffer.auto_c_fill_ups (string, Write-only)\nThe set of characters that choose the currently selected item in an\nautocompletion or user list when typed.\nThe default value is an empty string.
+auto_c_ignore_case buffer.auto_c_ignore_case (bool)\nIgnore case when searching an autocompletion or user list for\nmatches.\nThe default value is `false`.
auto_c_max_height buffer.auto_c_max_height (number)\nThe maximum number of items per page to show in autocompletion and user\nlists. The default value is `5`.
auto_c_max_width buffer.auto_c_max_width (number)\nThe maximum number of characters per item to show in autocompletion and\nuser lists.\nThe default value is `0`, which automatically sizes the width to fit the\nlongest item.
-auto_c_order buffer.auto_c_order (number)\nThe order setting for autocompletion lists.\n\n* `buffer.SC_ORDER_PRESORTED`\n Lists passed to `buffer.auto_c_show` are in sorted,\n alphabetical order.\n* `buffer.SC_ORDER_PERFORMSORT`\n Sort autocompletion lists passed to `buffer.auto_c_show`.\n* `buffer.SC_ORDER_CUSTOM`\n Lists passed to `buffer.auto_c_show` are already in a\n custom order.\n\nThe default value is `buffer.SC_ORDER_PRESORTED`.
+auto_c_order buffer.auto_c_order (number)\nThe order setting for autocompletion lists.\n\n* `buffer.ORDER_PRESORTED`\n Lists passed to `buffer.auto_c_show` are in sorted,\n alphabetical order.\n* `buffer.ORDER_PERFORMSORT`\n Sort autocompletion lists passed to `buffer.auto_c_show`.\n* `buffer.ORDER_CUSTOM`\n Lists passed to `buffer.auto_c_show` are already in a\n custom order.\n\nThe default value is `buffer.ORDER_PRESORTED`.
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 based 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 byte value of the character 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 constructed from string *item_list*, whose\nitems are delimited by `buffer.auto_c_separator` characters, using\n*len_entered* number of characters behind the caret as the prefix of the word\nto autocomplete.\nThe sorted order of *item_list*, `buffer.auto_c_order`, must have already\nbeen defined.\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 string *chars* as the set of characters that cancel autocompletion\nwhen typed.\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 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
+auto_c_stops buffer.auto_c_stops(buffer, chars)\nDefines string *chars* as the set of characters that cancels an\nautocompletion or user list when typed.\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 and 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 textadept.editing.autocomplete_word(words)\nDisplays an autocompletion list, built from the set of string words *words*\nand existing words in the buffer, for the word behind the caret, returning\n`true` if completions were found.\n@param 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)\nUn-indents the text on the selected lines.\n@param buffer The global buffer.
band bit32.band(...)\nReturns the bitwise "and" of its operands.
@@ -913,9 +459,7 @@ buffered_draw buffer.buffered_draw (bool)\nBuffer drawing to avoid flickering.\n
bufstatusbar_text ui.bufstatusbar_text (string, Write-only)\nThe text displayed by the buffer statusbar.
byte string.byte(s [, i [, j]])\nReturns the internal numerical codes of the characters `s[i]`, `s[i+1]`,\n..., `s[j]`. The default value for `i` is 1; the default value for `j`\nis `i`. These indices are corrected following the same rules of function\n`string.sub`.\n\nNumerical codes are not necessarily portable across platforms.
call_tip_active buffer.call_tip_active(buffer)\nReturns whether or not the call tip is visible.\n@param buffer The global buffer.\n@return bool
-call_tip_back buffer.call_tip_back (number, Write-only)\nThe background color, in "0xBBGGRR" format, of call tips.
call_tip_cancel buffer.call_tip_cancel(buffer)\nRemoves the call tip from view.\n@param buffer The global buffer.
-call_tip_fore buffer.call_tip_fore (number, Write-only)\nThe foreground color, in "0xBBGGRR" format, of call tips.
call_tip_fore_hlt buffer.call_tip_fore_hlt (number, Write-only)\nThe foreground color, in "0xBBGGRR" format, of the highlighted part of\ncall tips.
call_tip_pos_start buffer.call_tip_pos_start(buffer)\nReturns the position where the call tip displayed at.\n@param buffer The global buffer.\n@return number
call_tip_position buffer.call_tip_position (boolean)\nDisplay the call tip above instead of below the text.\nThe default value is `false`.
@@ -925,20 +469,20 @@ call_tip_use_style buffer.call_tip_use_style (number)\nThe pixel size of tab cha
can_paste buffer.can_paste(buffer)\nReturns whether or not the clipboard has text to paste.\n@param buffer The global buffer.\n@return bool
can_redo buffer.can_redo(buffer)\nReturns whether or not there is an action to redo.\n@param buffer The global buffer.\n@return bool
can_undo buffer.can_undo(buffer)\nReturns whether or not there is an action to undo.\n@param buffer The global buffer.\n@return bool
-cancel buffer.cancel(buffer)\nCancels the active call tip, autocompletion list, user list, selection mode,\netc.\n@param buffer The global buffer.
+cancel buffer.cancel(buffer)\nCancels the active call tip, autocompletion or user list, selection mode,\netc.\n@param buffer The global buffer.
caret_fore buffer.caret_fore (number)\nThe foreground color, in "0xBBGGRR" format, of the caret.
caret_line_back buffer.caret_line_back (number)\nThe background color, in "0xBBGGRR" format, of the line containing the\ncaret.
-caret_line_back_alpha buffer.caret_line_back_alpha (number)\nThe background alpha value, ranging from `0` (transparent) to `255`\n(opaque), of the caret line.\nThe default value is `buffer.SC_ALPHA_NOALPHA`, for no alpha.
+caret_line_back_alpha buffer.caret_line_back_alpha (number)\nThe background alpha value, ranging from `0` (transparent) to `255`\n(opaque), of the caret line.\nThe default value is `buffer.ALPHA_NOALPHA`, for no alpha.
caret_line_visible buffer.caret_line_visible (bool)\nColor the background of the line containing the caret a different color.\nThe default value is `false`.
caret_line_visible_always buffer.caret_line_visible_always (bool)\nAlways show the caret line, even when the window is not in focus.\nThe default value is `false`, showing the line only when the window is in\nfocus.
caret_period buffer.caret_period (number)\nThe time between caret blinks in milliseconds.\nA value of `0` stops blinking.\nThe default value is `500`.
-caret_sticky buffer.caret_sticky (number)\nThe preferred horizontal position of the caret when moving between lines.\n\n* `buffer.SC_CARETSTICKY_OFF`\n Use the same position as on the previous line.\n* `buffer.SC_CARETSTICKY_ON`\n Use the last position the caret was moved to via the mouse, left/right\n arrow keys, home/end keys, etc. Typing text does not affect the position.\n* `buffer.SC_CARETSTICKY_WHITESPACE`\n Use the same position as on the previous line, but prior to any inserted\n indentation.\n\nThe default value is `buffer.SC_CARETSTICKY_OFF`.
+caret_sticky buffer.caret_sticky (number)\nThe preferred horizontal position of the caret when moving between lines.\n\n* `buffer.CARETSTICKY_OFF`\n Use the same position as on the previous line.\n* `buffer.CARETSTICKY_ON`\n Use the last position the caret was moved to via the mouse, left/right\n arrow keys, home/end keys, etc. Typing text does not affect the position.\n* `buffer.CARETSTICKY_WHITESPACE`\n Use the same position as on the previous line, but prior to any inserted\n indentation.\n\nThe default value is `buffer.CARETSTICKY_OFF`.
caret_style buffer.caret_style (number)\nThe visual style of the caret.\n\n* `buffer.CARETSTYLE_INVISIBLE`\n No caret.\n* `buffer.CARETSTYLE_LINE`\n A line caret.\n* `buffer.CARETSTYLE_BLOCK`\n A block caret.\n\nThe default value is `buffer.CARETSTYLE_LINE`.
caret_width buffer.caret_width (number)\nThe pixel width of the caret in insert mode, either `0`, `1`, `2`, or `3`,\nand only applicable to line carets.\nThe default value is `1`.
ceil math.ceil(x)\nReturns the smallest integer larger than or equal to `x`.
change_lexer_state buffer.change_lexer_state(buffer, start_pos, end_pos)\nTells the lexer to re-process the range of text between *start_pos* and\n*end_pos*.\n@param buffer The global buffer.\n@param start_pos The start position of the range of text in *buffer* to\n re-process.\n@param end_pos The end position of the range of text in *buffer* to\n re-process.
char string.char(···)\nReceives zero or more integers. Returns a string with length equal to\nthe number of arguments, in which each character has the internal numerical\ncode equal to its corresponding argument.\n\nNumerical codes are not necessarily portable across platforms.
-char_at buffer.char_at (table, Read-only)\nTable of character bytes at positions in the buffer starting from zero.
+char_at buffer.char_at (table, Read-only)\nTable of character bytes at positions starting from zero.
char_left buffer.char_left(buffer)\nMoves the caret left one character.\n@param buffer The global buffer.
char_left_extend buffer.char_left_extend(buffer)\nMoves the caret left one character, extending the selected text to the new\nposition.\n@param buffer The global buffer.
char_left_rect_extend buffer.char_left_rect_extend(buffer)\nMoves the caret left one character, extending the rectangular selection to\nthe new position.\n@param buffer The global buffer.
@@ -955,8 +499,8 @@ class_definition textadept.adeptsense.syntax.class_definition (table)\nA Lua pat
clear buffer.clear(buffer)\nDeletes the selected text or the character at the caret.\n@param buffer The global buffer.
clear textadept.adeptsense.clear(sense)\nClears the Adeptsense for loading new Ctags or project files.\n@param sense The Adeptsense returned by `adeptsense.new()`.
clear textadept.bookmarks.clear()\nClears all bookmarks in the current buffer.
-clear_all buffer.clear_all(buffer)\nDeletes all of the text in the buffer.\n@param buffer The global buffer.
-clear_document_style buffer.clear_document_style(buffer)\nClears all styling and folding information in the buffer.\n@param buffer The global buffer.
+clear_all buffer.clear_all(buffer)\nDeletes the buffer's text.\n@param buffer The global buffer.
+clear_document_style buffer.clear_document_style(buffer)\nClears all styling and folding information.\n@param buffer The global buffer.
clear_registered_images buffer.clear_registered_images(buffer)\nClears all images registered using `buffer:register_image()` and\n`buffer:register_rgba_image()`.\n@param buffer The global buffer.
clear_selections buffer.clear_selections(buffer)\nRemoves all selections and moves the caret to the beginning of the buffer.\n@param buffer The global buffer.
clipboard_text ui.clipboard_text (string, Read-only)\nThe text on the clipboard.
@@ -965,10 +509,10 @@ close file:close()\nCloses `file`. Note that files are automatically closed when
close io.close([file])\nEquivalent to `file:close()`. Without a `file`, closes the default\noutput file.
close_all_buffers io.close_all_buffers()\nCloses all open buffers, prompting the user to continue with unsaved buffers,\nand returning `true` if the user did not cancel.\nNo buffers are saved automatically. They must be saved manually.\n@return `true` if user did not cancel.\n@see io.close_buffer
close_buffer io.close_buffer()\nCloses the current buffer, prompting the user to continue if there are\nunsaved changes, and returns `true` if the buffer was closed.\n@return `true` if the buffer was closed; `nil` otherwise.
-cntrl lexer.cntrl (pattern)\nA pattern matching any control character (`0`..`31`).
+cntrl lexer.cntrl (pattern)\nA pattern that matches any control character (ASCII codes 0 to 31).
collectgarbage _G.collectgarbage([opt [, arg]])\nThis function is a generic interface to the garbage collector. It\nperforms different functions according to its first argument, `opt`:\n "collect": performs a full garbage-collection cycle. This is the default\n option.\n "stop": stops automatic execution of the garbage collector.\n "restart": restarts automatic execution of the garbage collector.\n "count": returns the total memory in use by Lua (in Kbytes) and a second\n value with the total memory in bytes modulo 1024. The first value\n has a fractional part, so the following equality is always true:\n\n k, b = collectgarbage("count")\n assert(k*1024 == math.floor(k)*1024 + b)\n\n (The second result is useful when Lua is compiled with a non\n floating-point type for numbers.)\n "step": performs a garbage-collection step. The step "size" is controlled\n by `arg` (larger values mean more steps) in a non-specified way. If\n you want to control the step size you must experimentally tune the\n value of `arg`. Returns true if the step finished a collection\n cycle.\n "setpause": sets `arg` as the new value for the *pause* of the collector\n (see §2.5). Returns the previous value for *pause*.\n "setstepmul": sets `arg` as the new value for the *step multiplier*\n of the collector (see §2.5). Returns the previous value for\n *step*.\n "isrunning": returns a boolean that tells whether the collector is running\n (i.e., not stopped).\n "generational": changes the collector to generational mode. This is an\n experimental feature (see §2.5).\n "incremental": changes the collector to incremental mode. This is the\n default mode.
colourise buffer.colourise(buffer, start_pos, end_pos)\nTells the lexer to style and fold the range of text between *start_pos* and\n*end_pos*.\nIf *end_pos* is `-1`, styles and folds to the end of the buffer.\n@param buffer The global buffer.\n@param start_pos The start position of the range of text in *buffer* to\n process.\n@param end_pos The end position of the range of text in *buffer* to process,\n or `-1` to process from *start_pos* to the end of *buffer*.
-column buffer.column (table, Read-only)\nTable of column numbers, taking tab widths into account, for positions in\nthe buffer starting from zero.
+column buffer.column (table, Read-only)\nTable of column numbers, taking tab widths into account, for positions\nstarting from zero.
command_entry ui.command_entry (module)\nTextadept's Command Entry.
comment_string textadept.editing.comment_string (table)\nMap of lexer names to line comment strings for programming languages, used by\nthe `block_comment()` function.\nKeys are lexer names and values are either the language's line comment\nprefixes or block comment delimiters separated by a '|' character.\n@see block_comment
compile 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
@@ -978,14 +522,14 @@ complete_lua ui.command_entry.complete_lua(code)\nShows a set of Lua code comple
completions 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 *event* at position\n*index*, returning the handler identifier for *f*.\n*event* may be any arbitrary string and does not need to have been previously\ndefined.\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) ui.print(msg) end)\n@return handler ID.\n@see disconnect
+connect events.connect(event, f, index)\nAdds function *f* to the set of event handlers for event *event* at position\n*index*.\n*event* may be any arbitrary string and does not need to have been previously\ndefined.\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) ui.print(msg) end)\n@see disconnect
constants _SCINTILLA.constants (table)\nMap of Scintilla constant names to their numeric values.
context_menu ui.context_menu\nThe editor's context menu, a `ui.menu()`.\n This is a low-level field. You probably want to use the higher-level\n `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`.
control_structure_patterns _M.lua.control_structure_patterns (table)\nList of patterns for auto-`end` completion for control structures.\n@see try_to_autocomplete_end
control_structure_patterns _M.ruby.control_structure_patterns (table)\nPatterns for auto `end` completion for control structures.\n@see try_to_autocomplete_end
-convert_eo_ls buffer.convert_eo_ls(buffer, mode)\nConverts all line endings to end of line mode *mode*.\n@param buffer The global buffer.\n@param mode The line ending mode to convert to. Valid values are:\n * `buffer.SC_EOL_CRLF`\n * `buffer.SC_EOL_CR`\n * `buffer.SC_EOL_LF`
+convert_eo_ls buffer.convert_eo_ls(buffer, mode)\nConverts all line endings to end of line mode *mode*.\n@param buffer The global buffer.\n@param mode The line ending mode to convert to. Valid values are:\n * `buffer.EOL_CRLF`\n * `buffer.EOL_CR`\n * `buffer.EOL_LF`
convert_indentation textadept.editing.convert_indentation()\nConverts indentation between tabs and spaces based on `buffer.use_tabs`.\nIf `buffer.use_tabs` is `true`, `buffer.tab_width` indenting spaces are\nconverted to tabs. Otherwise, all indenting tabs are converted to\n`buffer.tab_width` spaces.\n@see buffer.use_tabs
copy buffer.copy(buffer)\nCopies 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.
copy_allow_line buffer.copy_allow_line(buffer)\nCopies the selected text or the current line to the clipboard.\n@param buffer The global buffer.
@@ -1003,16 +547,16 @@ create coroutine.create(f)\nCreates a new coroutine, with body `f`. `f` must be
css _G.keys.css (table)\nContainer for CSS-specific key bindings.
css _G.snippets.css (table)\nContainer for CSS-specific snippets.
css _M.css (module)\nThe css module.\nIt provides utilities for editing CSS code.
-ctags_kinds textadept.adeptsense.ctags_kinds (table)\nA map of Ctags kinds to Adeptsense kinds.\nRecognized kinds are `FUNCTION`, `FIELD`, and `CLASS`. Classes are quite\nsimply containers for functions and fields so Lua modules would count as\nclasses. Any other kinds will be passed to `handle_ctag()` for user-defined\nhandling.\n@see handle_ctag
+ctags_kinds textadept.adeptsense.ctags_kinds (table)\nA map of Ctags kinds to Adeptsense types.\nRecognized types are `FUNCTION`, `FIELD`, and `CLASS`. Classes are quite\nsimply containers for functions and fields so Lua modules would count as\nclasses. Any other kinds will be passed to `handle_ctag()` for user-defined\nhandling.\n@see handle_ctag
current_pos buffer.current_pos (number)\nThe position of the caret.\nWhen set, does not scroll the caret into view.
currentdir lfs.currentdir()\nReturns a string with the current working directory or nil plus an error\nstring.
-cursor buffer.cursor (number)\nThe display cursor type.\n\n* `buffer.SC_CURSORNORMAL`\n The text insert cursor.\n* `buffer.SC_CURSORARROW`\n The arrow cursor.\n* `buffer.SC_CURSORWAIT`\n The wait cursor.\n* `buffer.SC_CURSORREVERSEARROW`\n The reversed arrow cursor.\n\nThe default value is `buffer.SC_CURSORNORMAL`.
+cursor buffer.cursor (number)\nThe display cursor type.\n\n* `buffer.CURSORNORMAL`\n The text insert cursor.\n* `buffer.CURSORARROW`\n The arrow cursor.\n* `buffer.CURSORWAIT`\n The wait cursor.\n* `buffer.CURSORREVERSEARROW`\n The reversed arrow cursor.\n\nThe default value is `buffer.CURSORNORMAL`.
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 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.
-dec_num lexer.dec_num (pattern)\nA pattern matching a decimal number.
+dec_num lexer.dec_num (pattern)\nA pattern that matches a decimal number.
deg math.deg(x)\nReturns the angle `x` (given in radians) in degrees.
del_line_left buffer.del_line_left(buffer)\nDeletes text from the caret to the beginning of the line.\n@param buffer The global buffer.
del_line_right buffer.del_line_right(buffer)\nDeletes text from the caret to the end of the line.\n@param buffer The global buffer.
@@ -1022,15 +566,15 @@ del_word_right_end buffer.del_word_right_end(buffer)\nDeletes the word to the ri
delete buffer.delete(buffer)\nDeletes the buffer.\n**Do not call this function.** Call `buffer:close()` instead. Emits a\n`BUFFER_DELETED` event.\n@param buffer The global buffer.\n@see events.BUFFER_DELETED
delete_back buffer.delete_back(buffer)\nDeletes the selected text or the character behind the caret.\n@param buffer The global buffer.
delete_back_not_line buffer.delete_back_not_line(buffer)\nDeletes the selected text or the character behind the caret unless the caret\nis at the beginning of a line.\n@param buffer The global buffer.
-delete_range buffer.delete_range(buffer, pos, length)\nDeletes the range of text from position *pos* to *pos* + *length* in the\nbuffer.\n@param buffer The global buffer.\n@param pos The start position of the range of text in *buffer* to delete.\n@param length The number of characters in the range of text to delete.
-delimited_range lexer.delimited_range(chars, escape, end_optional, balanced, forbidden)\nCreates and returns a pattern that matches a range of text bounded by\n*chars* characters.\nThis is a convenience function for matching more complicated delimited ranges\nlike strings with escape characters and balanced parentheses. *escape*\nspecifies the escape characters a range can have, *end_optional* indicates\nwhether or not unterminated ranges match, *balanced* indicates whether or not\nto handle balanced ranges like parentheses and requires *chars* to be\ncomposed of two characters, and *forbidden* is a set of characters disallowed\nin ranges such as newlines.\n@param chars The character(s) that bound the matched range.\n@param escape Optional escape character. This parameter may `nil` or the\n empty string to indicate no escape character.\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@param balanced Optional flag indicating whether or not a balanced range is\n matched, like the "%b" Lua pattern. This flag only applies if *chars*\n consists of two different characters (e.g. "()").\n@param forbidden Optional string of characters forbidden in a delimited\n range. Each character is part of the set. This is particularly useful for\n disallowing newlines in delimited ranges.\n@usage local dq_str_noescapes = l.delimited_range('"', nil, true)\n@usage local dq_str_escapes = l.delimited_range('"', '\\', true)\n@usage local unbalanced_parens = l.delimited_range('()', '\\')\n@usage local balanced_parens = l.delimited_range('()', '\\', false, true)\n@return pattern\n@see nested_pair
+delete_range buffer.delete_range(buffer, pos, length)\nDeletes the buffer's text from position *pos* to *pos* + *length*.\n@param buffer The global buffer.\n@param pos The start position of the range of text in *buffer* to delete.\n@param length The number of characters in the range of text to delete.
+delimited_range lexer.delimited_range(chars, single_line, no_escape, balanced)\nCreates and returns a pattern that matches a range of text bounded by\n*chars* characters.\nThis is a convenience function for matching more complicated delimited ranges\nlike strings with escape characters and balanced parentheses. *single_line*\nindicates whether or not ranges must be on a single line, *no_escape*\nindicates whether or not to treat '\' character as an escape character, and\n*balanced* indicates whether or not to handle balanced ranges like\nparentheses and requires *chars* to be composed of two characters.\n@param chars The character(s) that bound the matched range.\n@param single_line Optional flag indicating whether or not the range must be\n on a single line.\n@param no_escape Optional flag indicating whether or not the range end\n character may be escaped by a '\\' character.\n@param balanced Optional flag indicating whether or not to match a balanced\n range, like the "%b" Lua pattern. This flag only applies if *chars*\n consists of two different characters (e.g. "()").\n@usage local dq_str_escapes = l.delimited_range('"')\n@usage local dq_str_noescapes = l.delimited_range('"', false, true)\n@usage local unbalanced_parens = l.delimited_range('()')\n@usage local balanced_parens = l.delimited_range('()', false, false, true)\n@return pattern\n@see nested_pair
dialog ui.dialog(kind, ...)\nDisplays a gtdialog of kind *kind* with the given string arguments to\npass to the dialog and returns a formatted string of the dialog's output.\nTable arguments containing strings are allowed and expanded in place. This is\nuseful for filtered list dialogs with many items.\nFor more information on gtdialog, see http://foicica.com/gtdialog.\n@param kind The kind of gtdialog.\n@param ... Parameters to the gtdialog.\n@return string gtdialog result.
difftime os.difftime(t2, t1)\nReturns the number of seconds from time `t1` to time `t2`. In POSIX,\nWindows, and some other systems, this value is exactly `t2`*-*`t1`.
-digit lexer.digit (pattern)\nA pattern matching any digit (`0-9`).
+digit lexer.digit (pattern)\nA pattern that matches any digit ('0'-'9').
dir lfs.dir(path)\nLua iterator over the entries of a given directory. Each time the iterator is\ncalled with dir_obj it returns a directory entry's name as a string, or nil\nif there are no more entries. You can also iterate by calling dir_obj:next(),\nand explicitly close the directory before the iteration finished with\ndir_obj:close(). Raises an error if path is not a directory.
-dir_foreach lfs.dir_foreach(utf8_dir, f, filter, exclude_FILTER, recursing)\nIterates over all files and sub-directories in the UTF-8-encoded directory\n*utf8_dir*, calling function *f* on each file found.\nFiles *f* is called on do not match any pattern in string or table *filter*,\nand, unless *exclude_FILTER* is `true`, `FILTER` as well. A filter table\ncontains Lua patterns that match filenames to exclude, with patterns matching\nfolders to exclude listed in a `folders` sub-table. Patterns starting with\n'!' exclude files and folders that do not match the pattern that follows. Use\na table of raw file extensions assigned to an `extensions` key for fast\nfiltering by extension. All strings must be encoded in `_G._CHARSET`, not\nUTF-8.\n@param utf8_dir A UTF-8-encoded directory path to iterate over.\n@param f Function to call with each full file path found. File paths are\n **not** encoded in UTF-8, but in `_G._CHARSET`. If *f* returns `false`\n explicitly, iteration ceases.\n@param filter Optional filter for files and folders to exclude.\n@param exclude_FILTER Optional flag indicating whether or not to exclude the\n default filter `FILTER` in the search. If `false`, adds `FILTER` to\n *filter*.\n The default value is `false` to include the default filter.\n@param recursing Utility flag indicating whether or not this function has\n been recursively called. This flag is used and set internally, and should\n not be set otherwise.\n@see FILTER
+dir_foreach lfs.dir_foreach(dir, f, filter, exclude_FILTER, recursing)\nIterates over all files and sub-directories in directory *dir*, calling\nfunction *f* on each file found.\nFiles *f* is called on do not match any pattern in string or table *filter*,\nand, unless *exclude_FILTER* is `true`, `FILTER` as well. A filter table\ncontains Lua patterns that match filenames to exclude, with patterns matching\nfolders to exclude listed in a `folders` sub-table. Patterns starting with\n'!' exclude files and folders that do not match the pattern that follows. Use\na table of raw file extensions assigned to an `extensions` key for fast\nfiltering by extension.\n@param dir The directory path to iterate over.\n@param f Function to call with each full file path found. If *f* returns\n `false` explicitly, iteration ceases.\n@param filter Optional filter for files and folders to exclude.\n@param exclude_FILTER Optional flag indicating whether or not to exclude the\n default filter `FILTER` in the search. If `false`, adds `FILTER` to\n *filter*.\n The default value is `false` to include the default filter.\n@param recursing Utility flag indicating whether or not this function has\n been recursively called. This flag is used and set internally, and should\n not be set otherwise.\n@see FILTER
dirty buffer.dirty (bool)\nWhether or not the buffer has unsaved changes.\nThis field is accessible from any buffer, not just the global one.
-disconnect events.disconnect(event, id)\nRemoves handler identifier *id*, returned by `events.connect()`, from the set\nof handlers for event *event*.\n@param event The string event name.\n@param id ID of the handler returned by `events.connect()`.\n@see connect
+disconnect events.disconnect(event, f)\nRemoves function *f* from the set of handlers for event *event*.\n@param event The string event name.\n@param f The Lua function connected to *event*.\n@see connect
doc_line_from_visible buffer.doc_line_from_visible(buffer, display_line)\nReturns the actual line number of displayed line number *display_line*,\ntaking hidden lines into account.\nIf *display_line* is less than or equal to zero, returns `0`. If\n*display_line* is greater than or equal to the number of displayed lines,\nreturns `buffer.line_count`.\n@param buffer The global buffer.\n@param display_line The display line number to use.\n@return number
document_end buffer.document_end(buffer)\nMoves the caret to the end of the buffer.\n@param buffer The global buffer.
document_end_extend buffer.document_end_extend(buffer)\nMoves the caret to the end of the buffer, extending the selected text to the\nnew position.\n@param buffer The global buffer.
@@ -1043,8 +587,8 @@ edge_column buffer.edge_column (number)\nThe column number to start marking long
edge_mode buffer.edge_mode (number)\nThe long line mark mode.\n\n* `buffer.EDGE_NONE`\n Long lines are not marked.\n* `buffer.EDGE_LINE`\n Draw a vertical line whose color is `buffer.edge_colour`\n at column `buffer.edge_column`.\n* `buffer.EDGE_BACKGROUND`\n Change the background color of characters after column\n `buffer.edge_column` to\n `buffer.edge_colour`.
edit_toggle_overtype buffer.edit_toggle_overtype(buffer)\nToggles `buffer.overtype`.\n@param buffer The global buffer.
editing textadept.editing (module)\nEditing features for Textadept.
-embed_lexer lexer.embed_lexer(parent, child, start_rule, end_rule)\nEmbeds *child* lexer in *parent* with *start_rule* and *end_rule*, patterns\nthat signal the beginning and end of the embedded lexer, respectively.\n@param parent The parent lexer.\n@param child The child lexer.\n@param start_rule The pattern that signals the beginning of the embedded\n lexer.\n@param end_rule The pattern that signals the end of the embedded lexer.\n@usage l.embed_lexer(M, css, css_start_rule, css_end_rule)\n@usage l.embed_lexer(html, M, php_start_rule, php_end_rule)\n@usage l.embed_lexer(html, ruby, ruby_start_rule, ruby_end_rule)
-emit events.emit(event, ...)\nSequentially calls all handler functions for event *event* with the given\narguments.\n*event* may be any arbitrary string and does not need to have been previously\ndefined. If any handler explicitly returns `true` or `false`, the event is\nnot propagated any further, iteration ceases, and `emit()` returns that\nvalue. This is useful for stopping the propagation of an event like a\nkeypress after it has been handled.\n@param event The string event name.\n@param ... Arguments passed to the handler.\n@usage events.emit('my_event', 'my message')\n@return `true` or `false` if any handler explicitly returned such; `nil`\n otherwise.
+embed_lexer lexer.embed_lexer(parent, child, start_rule, end_rule)\nEmbeds child lexer *child* in parent *parent* with *start_rule* and\n*end_rule*, patterns that signal the beginning and end of the embedded lexer,\nrespectively.\n@param parent The parent lexer.\n@param child The child lexer.\n@param start_rule The pattern that signals the beginning of the embedded\n lexer.\n@param end_rule The pattern that signals the end of the embedded lexer.\n@usage l.embed_lexer(M, css, css_start_rule, css_end_rule)\n@usage l.embed_lexer(html, M, php_start_rule, php_end_rule)\n@usage l.embed_lexer(html, ruby, ruby_start_rule, ruby_end_rule)
+emit events.emit(event, ...)\nSequentially calls all handler functions for event *event* with the given\narguments.\n*event* may be any arbitrary string and does not need to have been previously\ndefined. If any handler explicitly returns `true` or `false`, `emit()`\nreturns that value and ceases to call subsequent handlers. This is useful for\nstopping the propagation of an event like a keypress after it has been\nhandled.\n@param event The string event name.\n@param ... Arguments passed to the handler.\n@usage events.emit('my_event', 'my message')\n@return `true` or `false` if any handler explicitly returned such; `nil`\n otherwise.
empty_undo_buffer buffer.empty_undo_buffer(buffer)\nDeletes the undo and redo history.\n@param buffer The global buffer.
enclose textadept.editing.enclose(left, right)\nEncloses the selected text or the word behind the caret within strings *left*\nand *right*.\n@param left The left part of the enclosure.\n@param right The right part of the enclosure.
encoding buffer.encoding (string or nil)\nThe string encoding of the file on the hard drive or `nil` for binary\nfiles.
@@ -1057,7 +601,7 @@ ensure_visible buffer.ensure_visible(buffer, line)\nEnsures line number *line* i
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 ui.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'] = {ui.command_entry.enter_mode, 'command_entry'}\n@see _G.keys.MODE
entry_text ui.command_entry.entry_text (string)\nThe text in the command entry.
-eol_mode buffer.eol_mode (number)\nThe current end of line mode. Changing the mode does not convert existing\nline endings. Use `buffer:convert_eo_ls()` to do so.\n\n* `buffer.SC_EOL_CRLF`\n Carriage return with line feed ("\r\n").\n* `buffer.SC_EOL_CR`\n Carriage return ("\r").\n* `buffer.SC_EOL_LF`\n Line feed ("\n").\n\nThe default value is `buffer.SC_EOL_CRLF` on Windows platforms,\n`buffer.SC_EOL_LF` otherwise.
+eol_mode buffer.eol_mode (number)\nThe current end of line mode. Changing the mode does not convert existing\nline endings. Use `buffer:convert_eo_ls()` to do so.\n\n* `buffer.EOL_CRLF`\n Carriage return with line feed ("\r\n").\n* `buffer.EOL_CR`\n Carriage return ("\r").\n* `buffer.EOL_LF`\n Line feed ("\n").\n\nThe default value is `buffer.EOL_CRLF` on Windows platforms,\n`buffer.EOL_LF` 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 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 modules.
events _G.events (module)\nTextadept's core event structure and handlers.
@@ -1066,21 +610,21 @@ execute_lua ui.command_entry.execute_lua(code)\nExecutes string *code* as Lua co
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*.
expand_children buffer.expand_children(buffer, line, level)\nExpands the fold states of the fold header on line number *line* and its\nchildren with fold level *level*.\n@param buffer The global buffer.\n@param line The line number in *buffer* to expand the folds for.\n@param level The previous fold level of *line*, not the current one. This is\n because this function is used to respond to changes in a line's fold level\n or fold header status, so a new fold level has already been set.
-extend lexer.extend (pattern)\nA pattern matching any ASCII extended character (`0`..`255`).
+extend lexer.extend (pattern)\nA pattern that matches any ASCII extended character (codes 0 to 255).
extensions textadept.file_types.extensions (table)\nMap of file extensions (excluding the leading '.') to their associated\nlexers.\nIf the file type is not recognized by shebang words or first-line patterns,\neach file extension is matched against the file's extension.
extra_ascent buffer.extra_ascent (number)\nThe amount of pixel padding above line text.\nThe default value is `0`.
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.
file_types textadept.file_types (module)\nHandles file type detection for Textadept.
-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.
+filename buffer.filename (string)\nThe absolute path to the file associated with the buffer.
filter_through textadept.editing.filter_through(command)\nPasses selected or all buffer text to string shell command *command* as\nstandard input (stdin) and replaces the input text with the command's\nstandard output (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 command The Linux, BSD, Mac OSX, or Windows shell command to filter\n text through.
filteredlist ui.filteredlist(title, columns, items, int_return, ...)\nConvenience function for `ui.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 `ui.dialog()`.\n@usage ui.filteredlist('Title', 'Foo', {'Bar', 'Baz'})\n@usage ui.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 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 ui.find (module)\nTextadept's Find & Replace pane.
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 ui.find.find_entry_text (string)\nThe text in the find entry.
-find_in_files ui.find.find_in_files(utf8_dir)\nSearches directory *utf8_dir* or user-specified directory for files that\nmatch search text and options and prints the results to a files found 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 ui.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_in_files ui.find.find_in_files(dir)\nSearches directory *dir* or user-specified directory for files that match\nsearch text and options and prints the results to a files found 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 dir Optional directory path to search. If `nil`, the user is prompted\n for one.\n@see FILTER
+find_incremental ui.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*.\n*anchor* indicates whether or not to search for *text* starting from the\ncurrent position instead 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 ui.find.find_label_text (string, Write-only)\nThe text of the "Find" label.\nThis is primarily used for localization.
find_next ui.find.find_next()\nMimics pressing the "Find Next" button.
find_next_button_text ui.find.find_next_button_text (string, Write-only)\nThe text of the "Find Next" button.\nThis is primarily used for localization.
@@ -1088,7 +632,7 @@ find_prev ui.find.find_prev()\nMimics pressing the "Find Prev" button.
find_prev_button_text ui.find.find_prev_button_text (string, Write-only)\nThe text of the "Find Prev" button.\nThis is primarily used for localization.
finish_mode ui.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'] = {ui.command_entry.finish_mode, ui.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.
+float lexer.float (pattern)\nA pattern that matches a floating point number.
floor math.floor(x)\nReturns the largest integer smaller than or equal to `x`.
flush file:flush()\nSaves any written data to `file`.
flush io.flush()\nEquivalent to `io.output():flush()`.
@@ -1096,15 +640,16 @@ fmod math.fmod(x, y)\nReturns the remainder of the division of `x` by `y` that r
focus ui.command_entry.focus()\nFocuses the command entry.
focus ui.find.focus()\nDisplays and focuses the Find & Replace pane.
fold lexer.fold(text, start_pos, start_line, start_level)\nFolds *text*, a chunk of text starting at position *start_pos* on line number\n*start_line* with a beginning fold level of *start_level* in the buffer.\nCalled by the Scintilla lexer; **do not call from Lua**. If the current lexer\nhas a `_fold` function or a `_foldsymbols` table, it is used to perform\nfolding. Otherwise, if a `fold.by.indentation` property is set, folding by\nindentation is done.\n@param text The text in the buffer to fold.\n@param start_pos The position in the buffer *text* starts at.\n@param start_line The line number *text* starts on.\n@param start_level The fold level *text* starts on.\n@return table of fold levels.
-fold_all buffer.fold_all(buffer, action)\nExpands, contracts, or toggles the fold states of all fold headers in the\nbuffer, depending on *action*.\nWhen toggling, the state of the first fold header in the buffer determines\nwhether to expand or contract.\n@param buffer The global buffer.\n@param action The fold action to perform. Valid values are:\n * `buffer.SC_FOLDACTION_CONTRACT`\n * `buffer.SC_FOLDACTION_EXPAND`\n * `buffer.SC_FOLDACTION_TOGGLE`
-fold_children buffer.fold_children(buffer, line, action)\nExpands, contracts, or toggles the fold states of the fold header on line\nnumber *line* and its children, depending on *action*.\n@param buffer The global buffer.\n@param line The line number in *buffer* to set the fold states for.\n@param action The fold action to perform. Valid values are:\n * `buffer.SC_FOLDACTION_CONTRACT`\n * `buffer.SC_FOLDACTION_EXPAND`\n * `buffer.SC_FOLDACTION_TOGGLE`
+fold_all buffer.fold_all(buffer, action)\nExpands, contracts, or toggles the fold states of all fold headers, depending\non *action*.\nWhen toggling, the state of the first fold header determines whether to\nexpand or contract.\n@param buffer The global buffer.\n@param action The fold action to perform. Valid values are:\n * `buffer.FOLDACTION_CONTRACT`\n * `buffer.FOLDACTION_EXPAND`\n * `buffer.FOLDACTION_TOGGLE`
+fold_children buffer.fold_children(buffer, line, action)\nExpands, contracts, or toggles the fold states of the fold header on line\nnumber *line* and its children, depending on *action*.\n@param buffer The global buffer.\n@param line The line number in *buffer* to set the fold states for.\n@param action The fold action to perform. Valid values are:\n * `buffer.FOLDACTION_CONTRACT`\n * `buffer.FOLDACTION_EXPAND`\n * `buffer.FOLDACTION_TOGGLE`
fold_expanded buffer.fold_expanded (table)\nTable of flags indicating whether or not folds are expanded for line\nnumbers starting from zero.\nSetting expanded fold states does not toggle folds; it only updates fold\nmargin markers. Use `buffer:toggle_fold()` instead.
-fold_flags buffer.fold_flags (number)\nBit-mask of options for drawing folding lines.\n\n* `buffer.SC_FOLDFLAG_LINEBEFORE_EXPANDED`\n Draw lines above expanded folds.\n* `buffer.SC_FOLDFLAG_LINEBEFORE_CONTRACTED`\n Draw lines above collapsed folds.\n* `buffer.SC_FOLDFLAG_LINEAFTER_EXPANDED`\n Draw lines below expanded folds.\n* `buffer.SC_FOLDFLAG_LINEAFTER_CONTRACTED`\n Draw lines below collapsed folds.\n\nThe default value is `0`.
-fold_level buffer.fold_level (table)\nTable of fold level bit-masks for line numbers starting from zero.\nFold level masks are composed of an integer level combined with any of the\nfollowing bits:\n\n* `buffer.SC_FOLDLEVELBASE`\n The initial fold level.\n* `buffer.SC_FOLDLEVELWHITEFLAG`\n The line is blank.\n* `buffer.SC_FOLDLEVELHEADERFLAG`\n The line is a header, or fold point.
-fold_line buffer.fold_line(buffer, line, action)\nExpands, contracts, or toggles the fold state of the fold header on line\nnumber *line*, depending on *action*.\n@param buffer The global buffer.\n@param line The line number in *buffer* to set the fold state for.\n@param action The fold action to perform. Valid values are:\n * `buffer.SC_FOLDACTION_CONTRACT`\n * `buffer.SC_FOLDACTION_EXPAND`\n * `buffer.SC_FOLDACTION_TOGGLE`
+fold_flags buffer.fold_flags (number)\nBit-mask of options for drawing folding lines.\n\n* `buffer.FOLDFLAG_LINEBEFORE_EXPANDED`\n Draw lines above expanded folds.\n* `buffer.FOLDFLAG_LINEBEFORE_CONTRACTED`\n Draw lines above collapsed folds.\n* `buffer.FOLDFLAG_LINEAFTER_EXPANDED`\n Draw lines below expanded folds.\n* `buffer.FOLDFLAG_LINEAFTER_CONTRACTED`\n Draw lines below collapsed folds.\n\nThe default value is `0`.
+fold_level buffer.fold_level (table)\nTable of fold level bit-masks for line numbers starting from zero.\nFold level masks are composed of an integer level combined with any of the\nfollowing bits:\n\n* `buffer.FOLDLEVELBASE`\n The initial fold level.\n* `buffer.FOLDLEVELWHITEFLAG`\n The line is blank.\n* `buffer.FOLDLEVELHEADERFLAG`\n The line is a header, or fold point.
+fold_level lexer.fold_level (table, Read-only)\nTable of fold level bit-masks for line numbers starting from zero.\nFold level masks are composed of an integer level combined with any of the\nfollowing bits:\n\n* `lexer.FOLDBASE`\n The initial fold level.\n* `lexer.FOLD_BLANK`\n The line is blank.\n* `lexer.FOLD_HEADER`\n The line is a header, or fold point.
+fold_line buffer.fold_line(buffer, line, action)\nExpands, contracts, or toggles the fold state of the fold header on line\nnumber *line*, depending on *action*.\n@param buffer The global buffer.\n@param line The line number in *buffer* to set the fold state for.\n@param action The fold action to perform. Valid values are:\n * `buffer.FOLDACTION_CONTRACT`\n * `buffer.FOLDACTION_EXPAND`\n * `buffer.FOLDACTION_TOGGLE`
fold_line_comments lexer.fold_line_comments(prefix)\nReturns a fold function, to be used within the lexer's `_foldsymbols` table,\nthat folds consecutive line comments beginning with string *prefix*.\n@param prefix The prefix string defining a line comment.\n@usage [l.COMMENT] = {['--'] = l.fold_line_comments('--')}\n@usage [l.COMMENT] = {['//'] = l.fold_line_comments('//')}
fold_parent buffer.fold_parent (table, Read-only)\nTable of parent line numbers (fold points) for child line numbers starting\nfrom zero.\nA line number of `-1` means no line was found.
-form_feed buffer.form_feed(buffer)\nInserts a Form Feed ("\f") character at the caret position.\n@param buffer The global buffer.
+form_feed buffer.form_feed(buffer)\nTypes a Form Feed ("\f") character at the caret position.\n@param buffer The global buffer.
format string.format(formatstring, ···)\nReturns a formatted version of its variable number of arguments following the\ndescription given in its first argument (which must be a string). The format\nstring follows the same rules as the ANSI C function `sprintf`. The only\ndifferences are that the options/modifiers `*`, `h`, `L`, `l`, `n`, and `p`\nare not supported and that there is an extra option, `q`. The `q` option\nformats a string between double quotes, using escape sequences when necessary\nto ensure that it can safely be read back by the Lua interpreter. For\ninstance, the call\n\n string.format('%q', 'a string with "quotes" and \n new line')\n\nmay produce the string:\n\n "a string with \"quotes\" and \\n new line"\n\nOptions `A` and `a` (when available), `E`, `e`, `f`, `G`, and `g` all expect\na number as argument. Options `c`, `d`, `i`, `o`, `u`, `X`, and `x` also\nexpect a number, but the range of that number may be limited by the\nunderlying C implementation. For options `o`, `u`, `X`, and `x`, the number\ncannot be negative. Option `q` expects a string; option `s` expects a string\nwithout embedded zeros. If the argument to option `s` is not a string, it is\nconverted to one following the same rules of `tostring`.
frexp math.frexp(x)\nReturns `m` and `e` such that 'x = m2^e', `e` is an integer and the\nabsolute value of `m` is in the range *[0.5, 1)* (or zero when `x` is zero).
functions _SCINTILLA.functions (table)\nMap of Scintilla function names to tables containing their IDs, return types,\nwParam types, and lParam types. Types are as follows:\n\n + `0`: Void.\n + `1`: Integer.\n + `2`: Length of the given lParam string.\n + `3`: Integer position.\n + `4`: Color, in "0xBBGGRR" format.\n + `5`: Boolean `true` or `false`.\n + `6`: Bitmask of Scintilla key modifiers and a key value.\n + `7`: String parameter.\n + `8`: String return value.
@@ -1112,22 +657,17 @@ get_apidoc textadept.adeptsense.get_apidoc(sense, symbol)\nReturns a list of api
get_class textadept.adeptsense.get_class(sense, symbol)\nReturns the class name for *symbol* name.\nIf *symbol* is `sense.syntax.self` and inside a class definition matching\n`sense.syntax.class_definition`, that class is returned. Otherwise the\nbuffer is searched backwards for a type declaration of *symbol* according to\nthe patterns in `sense.syntax.type_declarations` or a type assignment of\n*symbol* according to `sense.syntax.type_assignments`.\n@param sense The Adeptsense returned by `adeptsense.new()`.\n@param symbol The symbol name to get the class of.\n@return class or `nil`\n@see syntax
get_completions textadept.adeptsense.get_completions(sense, symbol, only_fields, only_functions)\nReturns a list of function (unless *only_fields* is `true`) and field (unless\n*only_funcs* is `true`) completions for *symbol* name.\n@param sense The Adeptsense returned by `adeptsense.new()`.\n@param symbol The symbol name to get completions for.\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 completion_list or `nil`
get_cur_line buffer.get_cur_line(buffer)\nReturns the current line's text and the index of the caret on the line,\nstarting from zero.\n@param buffer The global buffer.\n@return string, number
-get_fold_level lexer.get_fold_level(line_number)\nReturns the fold level for line number *line_number*.\nThis level already has `SC_FOLDLEVELBASE` added to it, so you do not need to\nadd it yourself.\n@param line_number The line number to get the fold level of.\n@return integer fold level
get_hotspot_active_back buffer.get_hotspot_active_back(buffer)\nReturns the numeric background color of active hotspots.\n@param buffer The global buffer.\n@return number
get_hotspot_active_fore buffer.get_hotspot_active_fore(buffer)\nReturns the numeric foreground color of active hotspots.\n@param buffer The global buffer.\n@return number
-get_indent_amount lexer.get_indent_amount(line_number)\nReturns the amount of indentation the text on line number *line_number* has.\n@param line_number The line number to get the indent amount of.\n@return integer indent amount
get_last_child buffer.get_last_child(buffer, start_line, level)\nReturns the line number of the last line after line number *start_line* whose\nfold level is greater than *level* or the level of *start_line* if *level* is\n`-1`.\n@param buffer The global buffer.\n@param start_line The line number in *buffer* of a header line.\n@param level The fold level, or `-1` for the level of *start_line*.
get_lexer buffer.get_lexer(buffer, current)\nReturns the name of the lexer used by the buffer, or the name of the lexer\nunder the caret in a multiple-language lexer if *current* is `true`.\n@param buffer The global buffer.\n@param current Whether or not to get the lexer at the current caret position\n in multi-language lexers. The default is `false` and returns the parent\n lexer.
get_line buffer.get_line(buffer, line)\nReturns the text on line number *line*, including end of line characters.\n@param buffer The global buffer.\n@param line The line number in *buffer* to use.\n@return string, number
get_line_sel_end_position buffer.get_line_sel_end_position(buffer, line)\nReturns the position of the end of the selected text on line number *line*,\nor `-1`.\n@param buffer The global buffer.\n@param line The line number in *buffer* to use.
get_line_sel_start_position buffer.get_line_sel_start_position(buffer, line)\nReturns the position of the beginning of the selected text on line number\n*line*, or `-1`.\n@param buffer The global buffer.\n@param line The line number in *buffer* to use.
-get_property lexer.get_property(key, default)\nReturns the string property value associated with string property *key*, or\n*default*.\n@param key The string property key.\n@param default Optional value to return if *key* is not set.\n@return property value
-get_property_expanded lexer.get_property_expanded(key)\nReturns the string property value associated with string property *key*,\nreplacing any "$()" and "%()" expressions with the values of their keys.\n@param key The string property key.\n@return property value
get_sel_text buffer.get_sel_text(buffer)\nReturns the selected text.\nMultiple selections are included in order with no delimiters. Rectangular\nselections are included from top to bottom with line ending delimiters.\nVirtual space is not included.\n@param buffer The global buffer.\n@return string, number
get_split_table ui.get_split_table()\nReturns the current split view structure.\nThis is primarily used in session saving.\n@return table of split views. Each split view entry is a table with 4\n fields: `1`, `2`, `vertical`, and `size`. `1` and `2` have values of either\n nested split view entries or the views themselves; `vertical` is a flag\n indicating if the split is vertical or not; and `size` is the integer\n position of the split resizer.
-get_style_at lexer.get_style_at(pos)\nReturns the string style name and style number at position *pos* in the\nbuffer.\n@param pos The position in the buffer to get the style for.\n@return style name\n@return style number
get_symbol textadept.adeptsense.get_symbol(sense)\nReturns a full symbol (if any) and current symbol part (if any) behind the\ncaret.\nFor example: `buffer.cur` would return `'buffer'` and `'cur'`. Returns empty\nstrings instead of `nil`.\n@param sense The Adeptsense returned by `adeptsense.new()`.\n@return symbol or `''`\n@return part or `''`
-get_text buffer.get_text(buffer)\nReturns all of the text in the buffer.\n@param buffer The global buffer.
+get_text buffer.get_text(buffer)\nReturns the buffer's text.\n@param buffer The global buffer.
getenv os.getenv(varname)\nReturns the value of the process environment variable `varname`, or\nnil if the variable is not defined.
gethook debug.gethook([thread])\nReturns the current hook settings of the thread, as three values: the\ncurrent hook function, the current hook mask, and the current hook count\n(as set by the `debug.sethook` function).
getinfo debug.getinfo([thread, ] f [, what])\nReturns a table with information about a function. You can give the\nfunction directly or you can give a number as the value of `f`, which means\nthe function running at level `f` of the call stack of the given thread:\nlevel 0 is the current function (`getinfo` itself); level 1 is the function\nthat called `getinfo` and so on. If `f` is a number larger than the number of\nactive functions, then `getinfo` returns nil.\n\nThe returned table can contain all the fields returned by `lua_getinfo`,\nwith the string `what` describing which fields to fill in. The default for\n`what` is to get all information available, except the table of valid\nlines. If present, the option '`f`' adds a field named `func` with\nthe function itself. If present, the option '`L`' adds a field named\n`activelines` with the table of valid lines.\n\nFor instance, the expression `debug.getinfo(1,"n").name` returns a table\nwith a name for the current function, if a reasonable name can be found,\nand the expression `debug.getinfo(print)` returns a table with all available\ninformation about the `print` function.
@@ -1138,22 +678,22 @@ getregistry debug.getregistry()\nReturns the registry table (see §4.5).
getupvalue debug.getupvalue(f, up)\nThis function returns the name and the value of the upvalue with index\n`up` of the function `f`. The function returns nil if there is no upvalue\nwith the given index.
getuservalue debug.getuservalue(u)\nReturns the Lua value associated to `u`. If `u` is not a userdata, returns\nnil.
gmatch string.gmatch(s, pattern)\nReturns an iterator function that, each time it is called, returns the\nnext captures from `pattern` over the string `s`. If `pattern` specifies no\ncaptures, then the whole match is produced in each call.\n\nAs an example, the following loop will iterate over all the words from string\n`s`, printing one per line:\n\n s = "hello world from Lua"\n for w in string.gmatch(s, "%a+") do\n print(w)\n end\n\nThe next example collects all pairs `key=value` from the given string into a\ntable:\n\n t = {}\n s = "from=world, to=Lua"\n for k, v in string.gmatch(s, "(%w+)=(%w+)") do\n t[k] = v\n end\n\nFor this function, a caret '`^`' at the start of a pattern does not work as\nan anchor, as this would prevent the iteration.
-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_buffer view.goto_buffer(view, n, relative)\nGoes to buffer number *n* in the view.\n*relative* indicates whether or not *n* is an index relative to the index of\nthe current buffer 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 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 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 ui.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 ui.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.\n*sloppy* indicates whether or not only the last part of *filename* is matched\nto a buffer'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_found ui.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 buffer.goto_line(buffer, line)\nMoves the caret to the beginning of line number *line* and scrolls it into\nview.\n@param buffer The global buffer.\n@param line The line number in *buffer* to go to.
-goto_line 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 textadept.editing.goto_line(line)\nMoves the caret to the beginning of line number *line* or the user-specified\nline, ensuring the line is visible.\n@param line Optional line number to go to. If `nil`, the user is prompted for\n one.
goto_mark textadept.bookmarks.goto_mark(next)\nPrompts the user to select a bookmarked line to move the caret to the\nbeginning of unless *next* is given.\nIf *next* is `true` or `false`, moves the caret to the beginning of the next\nor previously bookmarked line, respectively.\n@param next Optional flag indicating whether to go to the next or previous\n bookmarked line relative to the current line. The default value is `nil`,\n prompting the user for a bookmarked line to go to.
goto_pos buffer.goto_pos(buffer, pos)\nMoves the caret to position *pos* and scrolls it into view.\n@param buffer The global buffer.\n@param pos The position in *buffer* to go to.
-goto_view ui.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
-graph lexer.graph (pattern)\nA pattern matching any graphical character (`!` to `~`).
+goto_view ui.goto_view(n, relative)\nGoes to view number *n*.\n*relative* indicates whether or not *n* is an index relative to the index of\nthe current view 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
+graph lexer.graph (pattern)\nA pattern that matches any graphical character ('!' to '~').
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"
h_scroll_bar buffer.h_scroll_bar (bool)\nDisplay the horizontal scroll bar.\nThe default value is `true`.
handle_clear 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 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.
-hex_num lexer.hex_num (pattern)\nA pattern matching a hexadecimal number.
+hex_num lexer.hex_num (pattern)\nA pattern that matches 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, hide)\nDo not highlight selected text if *hide* is `true`.\n@param buffer The global buffer.\n@param hide Whether or not to hide the selection.
highlight_guide buffer.highlight_guide (number)\nThe indentation guide column number to highlight, or `0` to stop\nhighlighting.
@@ -1175,10 +715,11 @@ iconv string.iconv(text, to, from)\nConverts string *text* from encoding *from*
in_files ui.find.in_files (bool)\nSearch for the text in a list of files.\nThe default value is `false`.
in_files_label_text ui.find.in_files_label_text (string, Write-only)\nThe text of the "In files" label.\nThis is primarily used for localization.
indent buffer.indent (number)\nThe number of spaces in one level of indentation.\nThe default value is `0`, which uses the value of\n`buffer.tab_width`.
-indentation_guides buffer.indentation_guides (number)\nThe indentation guide drawing mode.\nIndentation guides are dotted vertical lines that appear within indentation\nwhitespace at each level of indentation.\n\n* `buffer.SC_IV_NONE`\n Does not draw any guides.\n* `buffer.SC_IV_REAL`\n Draw guides only within indentation whitespace.\n* `buffer.SC_IV_LOOKFORWARD`\n Draw guides beyond the current line up to the level of the next non-empty\n line, but with an additional level if the previous non-empty line is a\n fold header.\n* `buffer.SC_IV_LOOKBOTH`\n Draw guides beyond the current line up to either the level of the\n previous or next non-empty line, whichever is greater.\n\nThe default value is `buffer.SC_IV_NONE`.
-indic_alpha buffer.indic_alpha (table)\nTable of fill color alpha values, ranging from `0` (transparent) to `255`\n(opaque), for indicator numbers from `0` to `31` whose styles are either\n`INDIC_ROUNDBOX`, `INDIC_STRAIGHTBOX`, or `INDIC_DOTBOX`.\nThe default values are `buffer.SC_ALPHA_NOALPHA`, for no alpha.
+indent_amount lexer.indent_amount (table, Read-only)\nTable of indentation amounts in character columns, for line numbers\nstarting from zero.
+indentation_guides buffer.indentation_guides (number)\nThe indentation guide drawing mode.\nIndentation guides are dotted vertical lines that appear within indentation\nwhitespace at each level of indentation.\n\n* `buffer.IV_NONE`\n Does not draw any guides.\n* `buffer.IV_REAL`\n Draw guides only within indentation whitespace.\n* `buffer.IV_LOOKFORWARD`\n Draw guides beyond the current line up to the level of the next non-empty\n line, but with an additional level if the previous non-empty line is a\n fold header.\n* `buffer.IV_LOOKBOTH`\n Draw guides beyond the current line up to either the level of the\n previous or next non-empty line, whichever is greater.\n\nThe default value is `buffer.IV_NONE`.
+indic_alpha buffer.indic_alpha (table)\nTable of fill color alpha values, ranging from `0` (transparent) to `255`\n(opaque), for indicator numbers from `0` to `31` whose styles are either\n`INDIC_ROUNDBOX`, `INDIC_STRAIGHTBOX`, or `INDIC_DOTBOX`.\nThe default values are `buffer.ALPHA_NOALPHA`, for no alpha.
indic_fore buffer.indic_fore (table)\nTable of foreground colors, in "0xBBGGRR" format, for indicator numbers\nfrom `0` to `31`.
-indic_outline_alpha buffer.indic_outline_alpha (table)\nTable of outline color alpha values, ranging from `0` (transparent) to\n`255` (opaque), for indicator numbers from `0` to `31` whose styles are\neither `INDIC_ROUNDBOX`, `INDIC_STRAIGHTBOX`, or `INDIC_DOTBOX`.\nThe default values are `buffer.SC_ALPHA_NOALPHA`, for no alpha.
+indic_outline_alpha buffer.indic_outline_alpha (table)\nTable of outline color alpha values, ranging from `0` (transparent) to\n`255` (opaque), for indicator numbers from `0` to `31` whose styles are\neither `INDIC_ROUNDBOX`, `INDIC_STRAIGHTBOX`, or `INDIC_DOTBOX`.\nThe default values are `buffer.ALPHA_NOALPHA`, for no alpha.
indic_style buffer.indic_style (table)\nTable of styles for indicator numbers from `0` to `31`.\n\n* `buffer.INDIC_PLAIN`\n An underline.\n* `buffer.INDIC_SQUIGGLE`\n A squiggly underline 3 pixels in height.\n* `buffer.INDIC_TT`\n A line of small 'T' shapes.\n* `buffer.INDIC_DIAGONAL`\n Diagonal hatching.\n* `buffer.INDIC_STRIKE`\n Strike out.\n* `buffer.INDIC_HIDDEN`\n Invisible.\n* `buffer.INDIC_BOX`\n A rectangle around the text.\n* `buffer.INDIC_ROUNDBOX`\n A translucent rectangle with rounded corners around the text. Use\n `buffer.indic_alpha` and\n `buffer.indic_outline_alpha` to set the fill and\n outline transparency, respectively. Their default values are `30` and\n `50`.\n* `buffer.INDIC_STRAIGHTBOX`\n Similar to `INDIC_ROUNDBOX` but with sharp corners.\n* `buffer.INDIC_DASH`\n A dashed underline.\n* `buffer.INDIC_DOTS`\n A dotted underline.\n* `buffer.INDIC_SQUIGGLELOW`\n A squiggly underline 2 pixels in height.\n* `buffer.INDIC_DOTBOX`\n Similar to `INDIC_STRAIGHTBOX` but with a dotted outline.\n Translucency alternates between `buffer.indic_alpha` and\n `buffer.indic_outline_alpha` starting with the\n top-left pixel.\n* `buffer.INDIC_SQUIGGLEPIXMAP`\n Identical to `INDIC_SQUIGGLE` but draws faster by using a pixmap instead\n of multiple line segments.\n* `buffer.INDIC_COMPOSITIONTHICK`\n A 2-pixel thick underline at the bottom of the line inset by 1 pixel on\n on either side. Similar in appearance to Asian language input\n composition.\n\nUse `_SCINTILLA.next_indic_number()` for custom indicators.
indic_under buffer.indic_under (table)\nTable of flags indicating whether or not to draw indicators behind text\ninstead of over the top of it for indicator numbers from `0` to `31`.\nFor values to be `true`, `buffer.two_phase_draw` must be\n`true`.\nThe default values are `false`.
indicator_all_on_for buffer.indicator_all_on_for(buffer, pos)\nReturns a bit-mask representing which indicators are on at position *pos*.\nBit 0 is set if indicator 0 is on, bit 1 for indicator 1, etc.\n@param buffer The global buffer.\n@param pos The position in *buffer* to get indicators at.\n@return number
@@ -1190,8 +731,8 @@ indicator_start buffer.indicator_start(buffer, indicator, pos)\nReturns the posi
inherited_classes textadept.adeptsense.inherited_classes (table)\nA map of classes and a list of their inherited classes, normally populated by\n`load_ctags()`.
input io.input([file])\nWhen called with a file name, it opens the named file (in text mode),\nand sets its handle as the default input file. When called with a file\nhandle, it simply sets this file handle as the default input file. When\ncalled without parameters, it returns the current default input file.\n\nIn case of errors this function raises the error, instead of returning an\nerror code.
insert table.insert(list, [pos, ] value)\nInserts element `value` at position `pos` in `list`, shifting up the elements\n`list[pos], list[pos+1], ···, list[#list]`. The default value for `pos` is\n`#list+1`, so that a call `table.insert(t,x)` inserts `x` at the end of list\n`t`.
-insert_text buffer.insert_text(buffer, pos, text)\nInserts string *text* at position *pos* or the caret position if *pos* is\n`-1`.\nIf the caret is after the *pos*, it is moved appropriately, but not scrolled\ninto view.\n@param buffer The global buffer.\n@param pos The position in *buffer* to insert text at, or `-1` for the\n current position.\n@param text The text to insert.
-integer lexer.integer (pattern)\nA pattern matching a decimal, hexadecimal, or octal number.
+insert_text buffer.insert_text(buffer, pos, text)\nInserts string *text* at position *pos* or the caret position if *pos* is\n`-1`, removing any selections.\nIf the caret is after the *pos*, it is moved appropriately, but not scrolled\ninto view.\n@param buffer The global buffer.\n@param pos The position in *buffer* to insert text at, or `-1` for the\n current position.\n@param text The text to insert.
+integer lexer.integer (pattern)\nA pattern that matches a decimal, hexadecimal, or octal number.
io _G.io (module)\nLua io module.
ipairs _G.ipairs(t)\nIf `t` has a metamethod `__ipairs`, calls it with `t` as argument and returns\nthe first three results from the call.\n\nOtherwise, returns three values: an iterator function, the table `t`, and 0,\nso that the construction\n\n for i,v in ipairs(t) do *body* end\n\nwill iterate over the pairs (`1,t[1]`), (`2,t[2]`), ..., up to the\nfirst integer key absent from the table.
java _G.keys.java (table)\nContainer for Java-specific key bindings.
@@ -1201,7 +742,7 @@ join_lines textadept.editing.join_lines()\nJoins the currently selected lines or
keys _G.keys (module)\nManages key bindings in Textadept.
keys _G.keys (table)\nMap of key bindings to commands, with language-specific key tables assigned\nto a lexer name key.
keys textadept.keys (module)\nDefines key commands for Textadept.\nThis set of key commands is pretty standard among other text editors. If\napplicable, load this module second to last in your *~/.textadept/init.lua*,\nbefore `textadept.menu`.
-last_char_includes lexer.last_char_includes(s)\nCreates and returns a pattern that matches any previous non-whitespace\ncharacter in *s* and consumes no input.\n@param s String character set like one passed to `lpeg.S()`.\n@usage local regex = l.last_char_includes('+-*!%^&|=,([{') *\n l.delimited_range('/', '\\')\n@return pattern
+last_char_includes lexer.last_char_includes(s)\nCreates and returns a pattern that matches any previous non-whitespace\ncharacter in *s* and consumes no input.\n@param s String character set like one passed to `lpeg.S()`.\n@usage local regex = l.last_char_includes('+-*!%^&|=,([{') *\n l.delimited_range('/')\n@return pattern
ldexp math.ldexp(m, e)\nReturns 'm2^e' (`e` should be an integer).
len string.len(s)\nReceives a string and returns its length. The empty string `""` has\nlength 0. Embedded zeros are counted, so `"a\000bc\000"` has length 5.
length buffer.length (number, Read-only)\nThe number of bytes in the buffer.
@@ -1247,8 +788,8 @@ lines_split buffer.lines_split(buffer, pixel_width, width)\nSplits the lines in
load _G.load(ld [, source [, mode [, env]]])\nLoads a chunk.\n\nIf `ld` is a string, the chunk is this string. If `ld` is a function, `load`\ncalls it repeatedly to get the chunk pieces. Each call to `ld` must return a\nstring that concatenates with previous results. A return of an empty string,\nnil, or no value signals the end of the chunk.\n\nIf there are no syntactic errors, returns the compiled chunk as a function;\notherwise, returns <b>nil</b> plus the error message.\n\nIf the resulting function has upvalues, the first upvalue is set to the value\nof `env`, if that parameter is given, or to the value of the global\nenvironment. (When you load a main chunk, the resulting function will always\nhave exactly one upvalue, the `_ENV` variable (see §2.2). When you load a\nbinary chunk created from a function (see `string.dump`), the resulting\nfunction can have arbitrary upvalues.)\n\n`source` is used as the source of the chunk for error messages and debug\ninformation (see §4.9). When absent, it defaults to `ld`, if `ld` is a\nstring, or to "`=(load)`" otherwise.\n\nThe string `mode` controls whether the chunk can be text or binary (that is,\na precompiled chunk). It may be the string "`b`" (only binary chunks), "`t`"\n(only text chunks), or "`bt`" (both binary and text). The default is "`bt`".
load lexer.load(lexer_name)\nInitializes or loads lexer *lexer_name* and returns the lexer object.\nScintilla calls this function to load a lexer. Parent lexers also call this\nfunction to load child lexers and vice-versa.\n@param lexer_name The name of the lexing language.\n@return lexer object
load textadept.session.load(filename)\nLoads Textadept session file *filename* or prompts the user to selectone,\nreturning `true` if the session file was opened and read.\nTextadept restores split views, opened buffers, cursor information, and\nrecent files.\n@param filename Optional absolute path to the session file to load. If `nil`,\n the user is prompted for one.\n@usage textadept.session.load(filename)\n@return `true` if the session file was opened and read; `false` otherwise.\n@see DEFAULT_SESSION
-load_ctags textadept.adeptsense.load_ctags(sense, tag_file, nolocations)\nLoads the Ctags file *tag_file* for autocompletions.\nIf *nolocations* is `true`, `sense:goto_ctag()` cannot be used with this set\nof tags. It is recommended to pass `-n` to `ctags` in order to use line\nnumbers instead of text patterns to locate tags. This will greatly reduce\nmemory usage for a large number of symbols if `nolocations` is `false`.\n@param sense The Adeptsense returned by `adeptsense.new()`.\n@param tag_file The path of the Ctags file to load.\n@param nolocations Optional flag indicating whether or not to discard the\n locations of the tags for use by `sense:goto_ctag()`. The default value is\n `false`.
-load_project _M.rails.load_project(utf8_dir)\nOpens a Rails project for snapopen.\nIf not directory is provided, the user is prompted for one.\n@param utf8_dir The UTF-8 Rails project directory.
+load_ctags textadept.adeptsense.load_ctags(sense, tag_file, nolocations)\nLoads the Ctags file *tag_file* for autocompletions.\n*nolocations* indicates whether or not to store the location part of tags. If\n`true`, `sense:goto_ctag()` cannot be used with this set of tags. It is\nrecommended to pass `-n` to `ctags` in order to use line numbers instead of\ntext patterns to locate tags. This will greatly reduce memory usage for a\nlarge number of symbols if *nolocations* is `false`.\n@param sense The Adeptsense returned by `adeptsense.new()`.\n@param tag_file The path of the Ctags file to load.\n@param nolocations Optional flag indicating whether or not to discard the\n locations of the tags for use by `sense:goto_ctag()`. The default value is\n `false`.
+load_project _M.rails.load_project(dir)\nOpens a Rails project for snapopen.\nIf not directory is provided, the user is prompted for one.\n@param dir The Rails project directory.
loaded package.loaded (table)\nA table used by `require` to control which modules are already loaded. When\nyou require a module `modname` and `package.loaded[modname]` is not false,\n`require` simply returns the value stored there.\nThis variable is only a reference to the real table; assignments to this\nvariable do not change the table used by `require`.
loadfile _G.loadfile([filename [, mode [, env]]])\nSimilar to `load`, but gets the chunk from file `filename` or from the\nstandard input, if no file name is given.
loadlib package.loadlib(libname, funcname)\nDynamically links the host program with the C library `libname`.\n\nIf `funcname` is "`*`", then it only links with the library, making the\nsymbols exported by the library available to other dynamically linked\nlibraries. Otherwise, it looks for a function `funcname` inside the library\nand returns this function as a C function. So, `funcname` must follow the\n`lua_CFunction` prototype (see `lua_CFunction`).\n\nThis is a low-level function. It completely bypasses the package and module\nsystem. Unlike `require`, it does not perform any path searching and does\nnot automatically adds extensions. `libname` must be the complete file name\nof the C library, including if necessary a path and an extension. `funcname`\nmust be the exact name exported by the C library (which may depend on the\nC compiler and linker used).\n\nThis function is not supported by Standard C. As such, it is only available\non some platforms (Windows, Linux, Mac OS X, Solaris, BSD, plus other Unix\nsystems that support the `dlfcn` standard).
@@ -1257,7 +798,7 @@ locations textadept.adeptsense.locations (table)\nA list of the locations of kno
lock lfs.lock(filehandle, mode[, start[, length]])\nLocks a file or a part of it. This function works on open files; the file\nhandle should be specified as the first argument. The string mode could be\neither r (for a read/shared lock) or w (for a write/exclusive lock). The\noptional arguments start and length can be used to specify a starting point\nand its length; both should be numbers.\n\nReturns true if the operation was successful; in case of error, it returns\nnil plus an error string.
lock_dir lfs.lock_dir(path, [seconds_stale])\nCreates a lockfile (called lockfile.lfs) in path if it does not exist and\nreturns the lock. If the lock already exists checks it it's stale, using the\nsecond parameter (default for the second parameter is INT_MAX, which in\npractice means the lock will never be stale. To free the the lock call\nlock:free().\n\nIn case of any errors it returns nil and the error message. In particular,\nif the lock exists and is not stale it returns the "File exists" message.
log math.log(x [, base])\nReturns the logarithm of `x` in the given base. The default for `base` is 'e'\n(so that the function returns the natural logarithm of `x`).
-lower lexer.lower (pattern)\nA pattern matching any lower case character (`a-z`).
+lower lexer.lower (pattern)\nA pattern that matches any lower case character ('a'-'z').
lower string.lower(s)\nReceives a string and returns a copy of this string with all uppercase\nletters changed to lowercase. All other characters are left unchanged. The\ndefinition of what an uppercase letter is depends on the current locale.
lower_case buffer.lower_case(buffer)\nConverts the selected text to lower case letters.\n@param buffer The global buffer.
lpeg _G.lpeg (module)\nLua lpeg module.
@@ -1269,28 +810,28 @@ lua _M.lua (module)\nThe lua module.\nIt provides utilities for editing Lua code
lua ui.find.lua (bool)\nInterpret search text as a Lua pattern.\nThe default value is `false`.
lua_pattern_label_text ui.find.lua_pattern_label_text (string, Write-only)\nThe text of the "Lua pattern" label.\nThis is primarily used for localization.
main_selection buffer.main_selection (number)\nThe number of the main, or most recent, selection.\nOnly an existing selection can be made main.
-margin_cursor_n buffer.margin_cursor_n (table)\nTable of cursor types shown over margin numbers from zero to four.\n\n* `buffer.SC_CURSORARROW`\n Normal arrow cursor.\n* `buffer.SC_CURSORREVERSEARROW`\n Reversed arrow cursor.\n\nThe default values are `buffer.SC_CURSORREVERSEARROW`.
+margin_cursor_n buffer.margin_cursor_n (table)\nTable of cursor types shown over margin numbers from zero to four.\n\n* `buffer.CURSORARROW`\n Normal arrow cursor.\n* `buffer.CURSORREVERSEARROW`\n Reversed arrow cursor.\n\nThe default values are `buffer.CURSORREVERSEARROW`.
margin_left buffer.margin_left (number)\nThe pixel size of the left margin of the buffer text.\nThe default value is `1`.
-margin_mask_n buffer.margin_mask_n (table)\nTable of bit-masks of markers that symbol margins can display for margin\nnumbers from zero to four.\nBit-masks are 32-bit values whose bits correspond to the 32 available\nmarkers.\nThe default values are `0`, `bit32.bnot(buffer.SC_MASK_FOLDERS)`, `0`, `0`,\nand `0`, for a line margin and logical marker margin.
-margin_options buffer.margin_options (number)\nA bit-mask of margin option settings.\n\n* `buffer.SC_MARGINOPTION_NONE`\n None.\n* `buffer.SC_MARGINOPTION_SUBLINESELECT`\n Select only the sub-line of the wrapped line, rather than the entire\n line, on margin click.\n\nThe default value is `buffer.SC_MARGINOPTION_NONE`.
+margin_mask_n buffer.margin_mask_n (table)\nTable of bit-masks of markers that symbol margins can display for margin\nnumbers from zero to four.\nBit-masks are 32-bit values whose bits correspond to the 32 available\nmarkers.\nThe default values are `0`, `bit32.bnot(buffer.MASK_FOLDERS)`, `0`, `0`,\nand `0`, for a line margin and logical marker margin.
+margin_options buffer.margin_options (number)\nA bit-mask of margin option settings.\n\n* `buffer.MARGINOPTION_NONE`\n None.\n* `buffer.MARGINOPTION_SUBLINESELECT`\n Select only the sub-line of the wrapped line, rather than the entire\n line, on margin click.\n\nThe default value is `buffer.MARGINOPTION_NONE`.
margin_right buffer.margin_right (number)\nThe pixel size of the right margin of the buffer text.\nThe default value is `1`.
margin_sensitive_n buffer.margin_sensitive_n (table)\nTable of flags indicating whether or not mouse clicks in margins emit\n`MARGIN_CLICK` events for margin numbers from zero to four.\nThe default values are `false`.
margin_style buffer.margin_style (table)\nTable of style numbers for line numbers starting from zero in the text\nmargin.\nOnly some style attributes are active in text margins: font, size, bold,\nitalics, fore, and back.
margin_style_offset buffer.margin_style_offset (number)\nThe beginning of the range of style numbers used for margin text.\nAlways set this to the result of\n`buffer.allocate_extended_styles`.\nMargin styles may be completely separated from standard text styles by\nsetting a style offset. For example, when set to `256`, margin styles are\nnumbered from `256` upto `511` so they do not overlap styles set by lexers.\nEach style number set with `margin_style` has the offset added before\nlooking up the style.\nThe default value is `0`.
margin_text buffer.margin_text (table)\nTable of text displayed in text margins for line numbers starting from\nzero.
margin_text_clear_all buffer.margin_text_clear_all(buffer)\nClears margin text on all lines.\n@param buffer The global buffer.
-margin_type_n buffer.margin_type_n (table)\nTable of margin types for margin numbers from zero to four.\n\n* `buffer.SC_MARGIN_SYMBOL`\n A symbol margin.\n* `buffer.SC_MARGIN_NUMBER`\n A line number margin.\n* `buffer.SC_MARGIN_BACK`\n A symbol margin whose background color matches the default text\n background color.\n* `buffer.SC_MARGIN_FORE`\n A symbol margin whose foreground color matches the default text\n foreground color.\n* `buffer.SC_MARGIN_TEXT`\n A text margin.\n* `buffer.SC_MARGIN_RTEXT`\n A right-justified text margin.\n\nThe default values are `true`, `false`, `false`, `false`, and `false`, for\na line number margin and symbol margins.
+margin_type_n buffer.margin_type_n (table)\nTable of margin types for margin numbers from zero to four.\n\n* `buffer.MARGIN_SYMBOL`\n A symbol margin.\n* `buffer.MARGIN_NUMBER`\n A line number margin.\n* `buffer.MARGIN_BACK`\n A symbol margin whose background color matches the default text\n background color.\n* `buffer.MARGIN_FORE`\n A symbol margin whose foreground color matches the default text\n foreground color.\n* `buffer.MARGIN_TEXT`\n A text margin.\n* `buffer.MARGIN_RTEXT`\n A right-justified text margin.\n\nThe default values are `true`, `false`, `false`, `false`, and `false`, for\na line number margin and symbol margins.
margin_width_n buffer.margin_width_n (table)\nTable of pixel margin widths for margin numbers from zero to four.
marker_add buffer.marker_add(buffer, line, marker_num)\nAdds marker number *marker_num*, in the range of `0` to `31`, to line number\n*line*, returning a marker handle which can be used in\n`buffer:marker_delete_handle()` and `buffer:marker_line_from_handle()`, or\n`-1` if the marker cannot be added.\n@param buffer The global buffer.\n@param line The line number to add the marker on.\n@param marker_num The marker number in the range of `0` to `31` to add.\n@return number
marker_add_set buffer.marker_add_set(buffer, line, marker_mask)\nAdds the markers specified in the marker bit-mask *marker_mask* to line\nnumber *line*.\nThe first bit is set to add marker number 0, the second bit for marker number\n1, and so on up to marker number 31.\n@param buffer The global buffer.\n@param line The line number to add the markers on.\n@param marker_mask The mask of markers to set. Set bit 0 to set marker 0, bit\n 1 for marker 1 and so on.
-marker_alpha buffer.marker_alpha (table, Write-only)\nTable of alpha values, ranging from `0` (transparent) to `255` (opaque),\nof markers drawn in the text area, not the margin, for markers numbers from\n`0` to `31`.\nThe default values are `buffer.SC_ALPHA_NOALPHA`, for no alpha.
+marker_alpha buffer.marker_alpha (table, Write-only)\nTable of alpha values, ranging from `0` (transparent) to `255` (opaque),\nof markers drawn in the text area, not the margin, for markers numbers from\n`0` to `31`.\nThe default values are `buffer.ALPHA_NOALPHA`, for no alpha.
marker_back buffer.marker_back (table, Write-only)\nTable of background colors, in "0xBBGGRR" format, of marker numbers from\n`0` to `31`.
marker_back_selected buffer.marker_back_selected (table, Write-only)\nTable of background colors, in "0xBBGGRR" format, of markers whose folding\nblocks are selected for marker numbers from `0` to `31`.\nThe default values are `0x0000FF`.
-marker_define buffer.marker_define(buffer, marker_num, marker_symbol)\nAssociates marker number *marker_num*, in the range of `0` to `31`, with\nsymbol *marker_symbol*.\n*marker_symbol* is shown in symbol margins next to lines marked with\n*marker_num*.\n@param buffer The global buffer.\n@param marker_num The marker number in the range of `0` to `31` to set\n *marker_symbol* for.\n@param marker_symbol The marker symbol: `buffer.SC_MARK_*`.\n@see _SCINTILLA.next_marker_number
-marker_define_pixmap buffer.marker_define_pixmap(buffer, marker_num, pixmap)\nAssociates marker number *marker_num*, in the range of `0` to `31`, with XPM\nimage *pixmap*.\nThe `buffer.SC_MARK_PIXMAP` symbol must be associated with *marker_num*.\nThe image is shown in symbol margins next to lines marked with *marker_num*.\n@param buffer The global buffer.\n@param marker_num The marker number in the range of `0` to `31` to define\n pixmap *pixmap* for.\n@param pixmap The string pixmap data.
-marker_define_rgba_image buffer.marker_define_rgba_image(buffer, marker_num, pixels)\nAssociates marker number *marker_num*, in the range of `0` to `31`, with RGBA\nimage *pixels*.\nThe dimensions for *pixels*, `buffer.rgba_image_width` and\n`buffer.rgba_image_height`, must have already been defined. *pixels* is a\nsequence of 4 byte pixel values (red, blue, green, and alpha) defining the\nimage line by line starting at the top-left pixel.\nThe `buffer.SC_MARK_RGBAIMAGE` symbol must be associated with *marker_num*.\nThe image is shown in symbol margins next to lines marked with *marker_num*.\nRGBA image markers use the `buffer.SC_MARK_RGBAIMAGE` marker symbol.\n@param buffer The global buffer.\n@param marker_num The marker number in the range of `0` to `31` to define\n RGBA data *pixels* for.\n@param pixels The string sequence of 4 byte pixel values starting with the\n pixels for the top line, with the leftmost pixel first, then continuing\n with the pixels for subsequent lines. There is no gap between lines for\n alignment reasons. Each pixel consists of, in order, a red byte, a green\n byte, a blue byte and an alpha byte. The colour bytes are not premultiplied\n by the alpha value. That is, a fully red pixel that is 25% opaque will be\n `[FF, 00, 00, 3F]`.
+marker_define buffer.marker_define(buffer, marker_num, marker_symbol)\nAssociates marker number *marker_num*, in the range of `0` to `31`, with\nsymbol *marker_symbol*.\n*marker_symbol* is shown in symbol margins next to lines marked with\n*marker_num*.\n@param buffer The global buffer.\n@param marker_num The marker number in the range of `0` to `31` to set\n *marker_symbol* for.\n@param marker_symbol The marker symbol: `buffer.MARK_*`.\n@see _SCINTILLA.next_marker_number
+marker_define_pixmap buffer.marker_define_pixmap(buffer, marker_num, pixmap)\nAssociates marker number *marker_num*, in the range of `0` to `31`, with XPM\nimage *pixmap*.\nThe `buffer.MARK_PIXMAP` symbol must be associated with *marker_num*.\nThe image is shown in symbol margins next to lines marked with *marker_num*.\n@param buffer The global buffer.\n@param marker_num The marker number in the range of `0` to `31` to define\n pixmap *pixmap* for.\n@param pixmap The string pixmap data.
+marker_define_rgba_image buffer.marker_define_rgba_image(buffer, marker_num, pixels)\nAssociates marker number *marker_num*, in the range of `0` to `31`, with RGBA\nimage *pixels*.\nThe dimensions for *pixels*, `buffer.rgba_image_width` and\n`buffer.rgba_image_height`, must have already been defined. *pixels* is a\nsequence of 4 byte pixel values (red, blue, green, and alpha) defining the\nimage line by line starting at the top-left pixel.\nThe `buffer.MARK_RGBAIMAGE` symbol must be associated with *marker_num*.\nThe image is shown in symbol margins next to lines marked with *marker_num*.\nRGBA image markers use the `buffer.MARK_RGBAIMAGE` marker symbol.\n@param buffer The global buffer.\n@param marker_num The marker number in the range of `0` to `31` to define\n RGBA data *pixels* for.\n@param pixels The string sequence of 4 byte pixel values starting with the\n pixels for the top line, with the leftmost pixel first, then continuing\n with the pixels for subsequent lines. There is no gap between lines for\n alignment reasons. Each pixel consists of, in order, a red byte, a green\n byte, a blue byte and an alpha byte. The colour bytes are not premultiplied\n by the alpha value. That is, a fully red pixel that is 25% opaque will be\n `[FF, 00, 00, 3F]`.
marker_delete buffer.marker_delete(buffer, line, marker_num)\nDeletes marker number *marker_num*, in the range of `0` to `31` or `-1` for\nall markers, from line number *line*.\n@param buffer The global buffer.\n@param line The line number to delete the marker on.\n@param marker_num The marker number in the range of `0` to `31` to delete\n from *line*, or `-1` to delete all markers from the line.
-marker_delete_all buffer.marker_delete_all(buffer, marker_num)\nDeletes marker number *marker_num*, in the range of `0` to `31` or `-1` for\nall markers, from all lines in the buffer.\n@param buffer The global buffer.\n@param marker_num The marker number in the range of `0` to `31` to delete\n from all lines, or `-1` to delete all markers from all lines.
+marker_delete_all buffer.marker_delete_all(buffer, marker_num)\nDeletes marker number *marker_num*, in the range of `0` to `31`, from any\nline that has it.\nIf *marker_num* is `-1`, deletes all markers from all lines.\n@param buffer The global buffer.\n@param marker_num The marker number in the range of `0` to `31` to delete\n from all lines, or `-1` to delete all markers from all lines.
marker_delete_handle buffer.marker_delete_handle(buffer, handle)\nDeletes the marker with handle *handle* returned by `buffer:marker_add()`.\n@param buffer The global buffer.\n@param handle The identifier of a marker returned by `buffer:marker_add()`.
marker_enable_highlight buffer.marker_enable_highlight(buffer, enabled)\nHighlights the margin fold markers for the current fold block if *enabled* is\n`true`.\n@param buffer The global buffer.\n@param enabled Whether or not to enable highlight.
marker_fore buffer.marker_fore (table, Write-only)\nTable of foreground colors, in "0xBBGGRR" format, of marker numbers from\n`0` to `31`.
@@ -1314,26 +855,26 @@ menubar ui.menubar (table)\nA table of menus defining a menubar. (Write-only)\n@
min math.min(x, ···)\nReturns the minimum value among its arguments.
mkdir lfs.mkdir(dirname)\nCreates a new directory. The argument is the name of the new directory.\n\nReturns true if the operation was successful; in case of error, it returns\nnil plus an error string.
modf math.modf(x)\nReturns two numbers, the integral part of `x` and the fractional part of\n`x`.
-mouse_dwell_time buffer.mouse_dwell_time (number)\nThe number of milliseconds the mouse must idle before generating a\n`DWELL_START` event. A time of `buffer.SC_TIME_FOREVER` will never generate\none.
+mouse_dwell_time buffer.mouse_dwell_time (number)\nThe number of milliseconds the mouse must idle before generating a\n`DWELL_START` event. A time of `buffer.TIME_FOREVER` will never generate\none.
move_caret_inside_view buffer.move_caret_inside_view(buffer)\nMoves the caret into view if it is not already, removing any selections.\n@param buffer The global buffer.
move_selected_lines_down buffer.move_selected_lines_down(buffer)\nMoves the selected lines down one line.\n@param buffer The global buffer.
move_selected_lines_up buffer.move_selected_lines_up(buffer)\nMoves the selected lines up one line.\n@param buffer The global buffer.
-multi_paste buffer.multi_paste (number)\nThe multiple selection paste mode.\n\n* `buffer.SC_MULTIPASTE_ONCE`\n Paste into only the main selection.\n* `buffer.SC_MULTIPASTE_EACH`\n Paste into all selections.\n\nThe default value is `buffer.SC_MULTIPASTE_ONCE`.
+multi_paste buffer.multi_paste (number)\nThe multiple selection paste mode.\n\n* `buffer.MULTIPASTE_ONCE`\n Paste into only the main selection.\n* `buffer.MULTIPASTE_EACH`\n Paste into all selections.\n\nThe default value is `buffer.MULTIPASTE_ONCE`.
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
+nested_pair lexer.nested_pair(start_chars, end_chars)\nSimilar to `delimited_range()`, but allows for multi-character, nested\ndelimiters *start_chars* and *end_chars*.\nWith single-character delimiters, this function is identical to\n`delimited_range(start_chars..end_chars, false, true, true)`.\n@param start_chars The string starting a nested sequence.\n@param end_chars The string ending a nested sequence.\n@usage local nested_comment = l.nested_pair('/*', '*/')\n@return pattern\n@see delimited_range
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 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 = textadept.adeptsense.new('lua')\n@return adeptsense
-new_line buffer.new_line(buffer)\nInserts a new line at the caret position based on\n`buffer.eol_mode`.\n@param buffer The global buffer.
-newline lexer.newline (pattern)\nA pattern matching any newline characters.
+new_line buffer.new_line(buffer)\nTypes a new line at the caret position based on\n`buffer.eol_mode`.\n@param buffer The global buffer.
+newline lexer.newline (pattern)\nA pattern that matches 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.
next_indic_number _SCINTILLA.next_indic_number()\nReturns a unique indicator number for use with custom indicators.\nUse this function for custom indicators in order to prevent clashes with\nidentifiers of other custom indicators.\n@usage local indic_num = _SCINTILLA.next_indic_number()\n@see buffer.indic_style
next_marker_number _SCINTILLA.next_marker_number()\nReturns a unique marker number for use with `buffer.marker_define()`.\nUse this function for custom markers in order to prevent clashes with\nidentifiers of other custom markers.\n@usage local marknum = _SCINTILLA.next_marker_number()\n@see buffer.marker_define
-next_user_list_type _SCINTILLA.next_user_list_type()\nReturns a unique user list type for use with `buffer.user_list_show()`.\nUse this function for custom user lists in order to prevent clashes with\nlist identifiers of other custom user lists.\n@usage local list_type = _SCINTILLA.next_user_list_type()\n@see buffer.user_list_show
-nonnewline lexer.nonnewline (pattern)\nA pattern matching any non-newline character.
-nonnewline_esc lexer.nonnewline_esc (pattern)\nA pattern matching any non-newline character excluding newlines escaped\nwith '\'.
-oct_num lexer.oct_num (pattern)\nA pattern matching an octal number.
+next_user_list_type _SCINTILLA.next_user_list_type()\nReturns a unique user list identier number for use with\n`buffer.user_list_show()`.\nUse this function for custom user lists in order to prevent clashes with\nlist identifiers of other custom user lists.\n@usage local list_type = _SCINTILLA.next_user_list_type()\n@see buffer.user_list_show
+nonnewline lexer.nonnewline (pattern)\nA pattern that matches any non-newline character.
+nonnewline_esc lexer.nonnewline_esc (pattern)\nA pattern that matches any non-newline character, excluding newlines\nescaped with '\'.
+oct_num lexer.oct_num (pattern)\nA pattern that matches an octal number.
open io.open(filename [, mode])\nThis function opens a file, in the mode specified in the string `mode`. It\nreturns a new file handle, or, in case of errors, nil plus an error message.\n\nThe `mode` string can be any of the following:\n "r": read mode (the default);\n "w": write mode;\n "a": append mode;\n "r+": update mode, all previous data is preserved;\n "w+": update mode, all previous data is erased;\n "a+": append update mode, previous data is preserved, writing is only\n allowed at the end of file.\n\nThe `mode` string can also have a '`b`' at the end, which is needed in\nsome systems to open the file in binary mode.
-open_file io.open_file(utf8_filenames)\nOpens *utf8_filenames*, a "\n" delimited string of UTF-8-encoded filenames,\nor user-selected files.\nEmits a `FILE_OPENED` event.\n@param utf8_filenames Optional string list of UTF-8-encoded filenames to\n open. If `nil`, the user is prompted with a fileselect dialog.\n@see _G.events
+open_file io.open_file(filenames)\nOpens *filenames*, a "\n" delimited string of filenames, or user-selected\nfiles.\nEmits a `FILE_OPENED` event.\n@param filenames Optional string list filenames to open. If `nil`, the user\n is prompted with a fileselect dialog.\n@see _G.events
open_recent_file io.open_recent_file()\nPrompts the user to open a recently opened file.\n@see recent_files
os _G.os (module)\nLua os module.
output io.output([file])\nSimilar to `io.input`, but operates over the default output file.
@@ -1368,14 +909,17 @@ position_from_line buffer.position_from_line(buffer, line)\nReturns the position
pow math.pow(x, y)\nReturns *x^y*. (You can also use the expression `x^y` to compute this\nvalue.)
preload package.preload (table)\nA table to store loaders for specific modules (see `require`).\nThis variable is only a reference to the real table; assignments to this\nvariable do not change the table used by `require`.
print _G.print(···)\nReceives any number of arguments and prints their values to `stdout`, using\nthe `tostring` function to convert each argument to a string. `print` is not\nintended for formatted output, but only as a quick way to show a value,\nfor instance for debugging. For complete control over the output, use\n`string.format` and `io.write`.
-print lexer.print (pattern)\nA pattern matching any printable character (space to `~`).
-print ui.print(...)\nPrints messages to the Textadept message buffer.\nOpens a new buffer if one has not already been opened for printing messages.\n@param ... Message strings.
+print lexer.print (pattern)\nA pattern that matches any printable character (' ' to '~').
+print ui.print(...)\nPrints the given string messages to the message buffer.\nOpens a new buffer if one has not already been opened for printing messages.\n@param ... Message strings.
process args.process(arg)\nProcesses command line argument table *arg*, handling switches previously\ndefined using `args.register()` and treating unrecognized arguments as\nfilenames to open.\nEmits an `ARG_NONE` event when no arguments are present.\n@param arg Argument table.\n@see register\n@see events
properties _SCINTILLA.properties (table)\nMap of Scintilla property names to table values containing their "get"\nfunction IDs, "set" function IDs, return types, and wParam types.\nThe wParam type will be non-zero if the property is indexable.\nTypes are the same as in the `functions` table.\n@see functions
property buffer.property (table)\nMap of key-value string pairs used by lexers.
-property_expanded buffer.property_expanded (table, Read-only)\nMap of key-value string pairs used by lexers with `$()` variable\nreplacement performed in values.
+property lexer.property (table)\nMap of key-value string pairs.
+property_expanded buffer.property_expanded (table, Read-only)\nMap of key-value string pairs used by lexers with `%()` variable\nreplacement performed in values.
+property_expanded lexer.property_expanded (table, Read-only)\nMap of key-value string pairs with `$()` and `%()` variable replacement\nperformed in values.
property_int buffer.property_int (table, Read-only)\nMap of key-value pairs used by lexers with values interpreted as numbers,\nor `0` if not found.
-punct lexer.punct (pattern)\nA pattern matching any punctuation character not alphanumeric (`!` to `/`,\n`:` to `@`, `[` to `'`, `{` to `~`).
+property_int lexer.property_int (table, Read-only)\nMap of key-value pairs with values interpreted as numbers, or `0` if not\nfound.
+punct lexer.punct (pattern)\nA pattern that matches any punctuation character not alphanumeric ('!' to\n'/', ':' to '@', '[' to ''', '{' to '~').
punctuation_chars buffer.punctuation_chars (string)\nThe string set of characters recognized as punctuation characters.\nSet this only after setting `buffer.word_chars`.\nThe default value is a string containing all characters not considered to\nbe whitespace or word characters.
python _G.keys.python (table)\nContainer for Python-specific key bindings.
python _G.snippets.python (table)\nContainer for Python-specific snippets.
@@ -1399,7 +943,7 @@ rectangular_selection_anchor buffer.rectangular_selection_anchor (number)\nThe p
rectangular_selection_anchor_virtual_space buffer.rectangular_selection_anchor_virtual_space (number)\nThe amount of virtual space for the anchor of the rectangular selection.
rectangular_selection_caret buffer.rectangular_selection_caret (number)\nThe position of the caret of the rectangular selection.
rectangular_selection_caret_virtual_space buffer.rectangular_selection_caret_virtual_space (number)\nThe amount of virtual space for the caret of the rectangular selection.
-rectangular_selection_modifier buffer.rectangular_selection_modifier (number)\nThe modifier key used in combination with a mouse drag to create a\nrectangular selection.\n\n* `buffer.SCMOD_CTRL`\n The "Control" modifier key.\n* `buffer.SCMOD_ALT`\n The "Alt" modifier key.\n* `buffer.SCMOD_SUPER`\n The "Super" modifier key, usually defined as the left "Windows" or\n "Command" key.\n\nThe default value is `buffer.SCMOD_CTRL`.
+rectangular_selection_modifier buffer.rectangular_selection_modifier (number)\nThe modifier key used in combination with a mouse drag to create a\nrectangular selection.\n\n* `buffer.MOD_CTRL`\n The "Control" modifier key.\n* `buffer.MOD_ALT`\n The "Alt" modifier key.\n* `buffer.MOD_SUPER`\n The "Super" modifier key, usually defined as the left "Windows" or\n "Command" key.\n\nThe default value is `buffer.MOD_CTRL`.
redo buffer.redo(buffer)\nRedoes the next undone action.\n@param buffer The global buffer.
register args.register(short, long, narg, f, description)\nRegisters a command line switch with short and long versions *short* and\n*long*, respectively. *narg* is the number of arguments the switch accepts,\n*f* is the function called when the switch is tripped, and *description* is\nthe switch's description when displaying help.\n@param short The string short version of the switch.\n@param long The string long version of the switch.\n@param narg The number of expected parameters for the switch.\n@param f The Lua function to run when the switch is tripped.\n@param description The string description of the switch for command line\n help.
register_image buffer.register_image(buffer, type, xpm_data)\nRegisters XPM image *xpm_data* to type number *type* for use in\nautocompletion lists.\n@param buffer The global buffer.\n@param type Integer type to register the image with.\n@param xpm_data The XPM data as described in `buffer:marker_define_pixmap()`.
@@ -1418,7 +962,7 @@ replace_button_text ui.find.replace_button_text (string, Write-only)\nThe text o
replace_entry_text ui.find.replace_entry_text (string)\nThe text in the replace entry.
replace_label_text ui.find.replace_label_text (string, Write-only)\nThe text of the "Replace" label.\nThis is primarily used for localization.
replace_sel buffer.replace_sel(buffer, text)\nReplaces the selected text with string *text*, scrolling the caret into view.\n@param buffer The global buffer.\n@param text The text to replace the selected text with.
-replace_target buffer.replace_target(buffer, text)\nReplaces the text in the target range with string *text*.\nThe recommended way to delete text in the buffer is to set the target to the\ntext to be removed, and to call this function with an empty string.\n@param buffer The global buffer.\n@param text The text to replace the target range with.\n@return number
+replace_target buffer.replace_target(buffer, text)\nReplaces the text in the target range with string *text* without modifying\nany selections or scrolling the view.\nSetting the target and calling this function with an empty string is another\nway to delete text.\n@param buffer The global buffer.\n@param text The text to replace the target range with.\n@return number
replace_target_re buffer.replace_target_re(buffer, text)\nReplaces the text in the target range with string *text* but first replaces\nany "\d" sequences with the value of tag match number *d* from the regular\nexpression (or the entire match for *d* = 0), and then returns the length of\nthe replacement text.\n@param buffer The global buffer.\n@param text The text to replace the target range with.\n@return number
require _G.require(modname)\nLoads the given module. The function starts by looking into the\n`package.loaded` table to determine whether `modname` is already\nloaded. If it is, then `require` returns the value stored at\n`package.loaded[modname]`. Otherwise, it tries to find a *loader* for\nthe module.\n\nTo find a loader, `require` is guided by the `package.searchers` sequence. By\nchanging this sequence, we can change how `require` looks for a module. The\nfollowing explanation is based on the default configuration for\n`package.searchers`.\n\nFirst `require` queries `package.preload[modname]`. If it has a value,\nthis value (which should be a function) is the loader. Otherwise `require`\nsearches for a Lua loader using the path stored in `package.path`. If\nthat also fails, it searches for a C loader using the path stored in\n`package.cpath`. If that also fails, it tries an *all-in-one* loader (see\n`package.searchers`).\n\nOnce a loader is found, `require` calls the loader with two arguments:\n`modname` and an extra value dependent on how it got the loader. (If the\nloader came from a file, this extra value is the file name.) If the loader\nreturns any non-nil value, `require` assigns the returned value to\n`package.loaded[modname]`. If the loader does not return a non-nil value and\nhas not assigned any value to `package.loaded[modname]`, then `require`\nassigns <b>true</b> to this entry. In any case, `require` returns the final\nvalue of `package.loaded[modname]`.\n\nIf there is any error loading or running the module, or if it cannot find\nany loader for the module, then `require` raises an error.
reset _G.reset()\nResets the Lua state by reloading all initialization scripts.\nLanguage modules for opened files are NOT reloaded. Re-opening the files that\nuse them will reload those modules instead.\nThis function is useful for modifying user scripts (such as\n*~/.textadept/init.lua* and *~/.textadept/modules/textadept/keys.lua*) on\nthe fly without having to restart Textadept. `arg` is set to `nil` when\nreinitializing the Lua State. Any scripts that need to differentiate between\nstartup and reset can test `arg`.
@@ -1444,7 +988,7 @@ running coroutine.running()\nReturns the running coroutine plus a boolean, true
save textadept.session.save(filename)\nSaves a Textadept session to file *filename* or a user-selected file.\nSaves split views, opened buffers, cursor information, and recent files.\n@param filename Optional absolute path to the session file to save. If `nil`,\n the user is prompted for one.\n@usage textadept.session.save(filename)\n@see DEFAULT_SESSION
save_all_files io.save_all_files()\nSaves all unsaved buffers to their respective files.\n@see io.save_file
save_file io.save_file()\nSaves the current buffer to its file.\nEmits `FILE_BEFORE_SAVE` and `FILE_AFTER_SAVE` events.
-save_file_as io.save_file_as(utf8_filename)\nSaves the current buffer to file *utf8_filename* or user-specified filename.\nEmits a `FILE_SAVED_AS` event.\n@param utf8_filename Optional new filepath to save the buffer to. Must be\n UTF-8 encoded. If `nil`, the user is prompted for one.
+save_file_as io.save_file_as(filename)\nSaves the current buffer to file *filename* or user-specified filename.\nEmits a `FILE_SAVED_AS` event.\n@param filename Optional new filepath to save the buffer to. If `nil`, the\n user is prompted for one.
scroll_caret buffer.scroll_caret(buffer)\nScrolls the caret into view based on the policies set with\n`buffer:set_x_caret_policy()` and `buffer:set_y_caret_policy()`.\n@param buffer The global buffer.\n@see set_x_caret_policy\n@see set_y_caret_policy
scroll_range buffer.scroll_range(buffer, secondary_pos, primary_pos)\nScrolls the range of text between positions *primary_pos* and *secondary_pos*\ninto view, with priority given to *primary_pos*.\nSimilar to `buffer:scroll_caret()`, but with *primary_pos* instead of\n`buffer.current_pos`.\nThis is useful for scrolling search results into view.\n@param buffer The global buffer.\n@param secondary_pos The secondary range position to scroll into view.\n@param primary_pos The primary range position to scroll into view.
scroll_to_end buffer.scroll_to_end(buffer)\nScrolls to the end of the buffer without moving the caret.\n@param buffer The global buffer.
@@ -1452,17 +996,17 @@ scroll_to_start buffer.scroll_to_start(buffer)\nScrolls to the beginning of the
scroll_width buffer.scroll_width (number)\nThe assumed buffer width for horizontal scrolling purposes.\nFor performance, the view does not measure the display width of the buffer\nto determine the properties of the horizontal scroll bar, but uses an\nassumed width instead. To ensure the width of the currently visible lines\ncan be scrolled use\n`buffer.scroll_width_tracking`.\nThe default value is `2000`.
scroll_width_tracking buffer.scroll_width_tracking (bool)\nContinuously update the scroll width to match the maximum width of a\ndisplayed line beyond `buffer.scroll_width`.\nThe default value is `false`.
search_anchor buffer.search_anchor(buffer)\nSets the position `buffer:search_next()` and `buffer:search_prev()` begin at\nto the caret position.\n@param buffer The global buffer.
-search_flags buffer.search_flags (number)\nThe bit-mask of search flags used by\n`buffer:search_in_target()`.\n\n* `buffer.SCFIND_WHOLEWORD`\n Match text surrounded by non-word characters.\n* `buffer.SCFIND_MATCHCASE`\n Match text case sensitively.\n* `buffer.SCFIND_WORDSTART`\n Match text only when the previous character is a non-word character.\n* `buffer.SCFIND_REGEXP`\n Interpret the search string as a regular expression.\n* `buffer.SCFIND_POSIX`\n Interpret '(' and ')' as tags instead of "\\(" and "\\)" in a regular\n expression.\n\nThe default value is `0`.\n\nRegular expression characters recognized are:\n\n* `.`\n Matches any character.\n* `[set]`\n Matches any character in *set*, including ranges (e.g. `[A-Za-z]`).\n* `[^set]`\n Matches the complement of *set*.\n* `*`\n Matches zero or more of the previous match.\n* `+`\n Matches one or more of the previous match.\n* `\<`\n Matches the beginning of a word.\n* `\>`\n Matches the end of a word.\n* `^`\n Matches the start of a line unless inside a set.\n* `$`\n Matches the end of a line unless inside a set.\n* `\(`\n The beginning of a tagged matching region.\n* `\)`\n The end of a tagged matching region.\n* `\n`\n The matched text of the *n*th tagged region. In replacement text, "\0" is\n all matched text.\n* `\x`\n Represents character *x*, ignoring any special meaning it may have by\n itself.
+search_flags buffer.search_flags (number)\nThe bit-mask of search flags used by\n`buffer:search_in_target()`.\n\n* `buffer.FIND_WHOLEWORD`\n Match text surrounded by non-word characters.\n* `buffer.FIND_MATCHCASE`\n Match text case sensitively.\n* `buffer.FIND_WORDSTART`\n Match text only when the previous character is a non-word character.\n* `buffer.FIND_REGEXP`\n Interpret the search string as a regular expression.\n* `buffer.FIND_POSIX`\n Interpret '(' and ')' as tags instead of "\\(" and "\\)" in a regular\n expression.\n\nThe default value is `0`.\n\nRegular expression characters recognized are:\n\n* `.`\n Matches any character.\n* `[set]`\n Matches any character in *set*, including ranges (e.g. `[A-Za-z]`).\n* `[^set]`\n Matches the complement of *set*.\n* `*`\n Matches zero or more of the previous match.\n* `+`\n Matches one or more of the previous match.\n* `\<`\n Matches the beginning of a word.\n* `\>`\n Matches the end of a word.\n* `^`\n Matches the start of a line unless inside a set.\n* `$`\n Matches the end of a line unless inside a set.\n* `\(`\n The beginning of a tagged matching region.\n* `\)`\n The end of a tagged matching region.\n* `\n`\n The matched text of the *n*th tagged region. In replacement text, "\0" is\n all matched text.\n* `\x`\n Represents character *x*, ignoring any special meaning it may have by\n itself.
search_in_target buffer.search_in_target(buffer, text)\nSearches for the first occurrence of string *text* in the target range\nbounded by `buffer.target_start` and `buffer.target_end` using search flags\n`buffer.search_flags` and, if found, sets the new target range to that\noccurrence, returning its position or `-1` otherwise.\n@param buffer The global buffer.\n@param text The text to search the target range for.\n@return number\n@see search_flags
search_next buffer.search_next(buffer, flags, text)\nSearches for and selects the first occurrence of string *text* starting at\nthe search anchor using search flags *flags*, returning the position of the\noccurrence or `-1`.\nSelected text is not scrolled into view.\n@param buffer The global buffer.\n@param flags The search flags to use. See `buffer.search_flags`.\n@param text The text to search for.\n@return number\n@see search_flags
search_prev buffer.search_prev(buffer, flags, text)\nSearches for and selects the last occurrence of string *text* before the\nsearch anchor using search flags *flags*, returning the position of the\noccurrence or `-1`.\n@param buffer The global buffer.\n@param flags The search flags to use. See `buffer.search_flags`.\n@param text The text to search for.\n@return number\n@see search_flags
searchers package.searchers (table)\nA table used by `require` to control how to load modules.\nEach entry in this table is a *searcher function*. When looking for a\nmodule, `require` calls each of these searchers in ascending order, with\nthe module name (the argument given to `require`) as its sole parameter.\nThe function can return another function (the module *loader*) plus an\nextra value that will be passed to that loader, or a string explaining why\nit did not find that module (or nil if it has nothing to say).\nLua initializes this table with four functions.\nThe first searcher simply looks for a loader in the `package.preload`\ntable.\nThe second searcher looks for a loader as a Lua library, using the path\nstored at `package.path`. The search is done as described in function\n`package.searchpath`.\nThe third searcher looks for a loader as a C library, using the path given\nby the variable `package.cpath`. Again, the search is done as described in\nfunction `package.searchpath`. For instance, if the C path is the string\n "./?.so;./?.dll;/usr/local/?/init.so"\nthe searcher for module `foo` will try to open the files `./foo.so`,\n`./foo.dll`, and `/usr/local/foo/init.so`, in that order. Once it finds\na C library, this searcher first uses a dynamic link facility to link the\napplication with the library. Then it tries to find a C function inside the\nlibrary to be used as the loader. The name of this C function is the string\n"`luaopen_`" concatenated with a copy of the module name where each dot\nis replaced by an underscore. Moreover, if the module name has a hyphen,\nits prefix up to (and including) the first hyphen is removed. For instance,\nif the module name is `a.v1-b.c`, the function name will be `luaopen_b_c`.\nThe fourth searcher tries an *all-in-one loader*. It searches the C\npath for a library for the root name of the given module. For instance,\nwhen requiring `a.b.c`, it will search for a C library for `a`. If found,\nit looks into it for an open function for the submodule; in our example,\nthat would be `luaopen_a_b_c`. With this facility, a package can pack\nseveral C submodules into one single library, with each submodule keeping\nits original open function.\nAll searchers except the first one (preload) return as the extra value the\nfile name where the module was found, as returned by `package.searchpath`.\nThe first searcher returns no extra value.
searchpath package.searchpath(name, path [, sep [, rep]])\nSearches for the given `name` in the given `path`.\n\nA path is a string containing a sequence of _templates_ separated by\nsemicolons. For each template, the function replaces each interrogation mark\n(if any) in the template with a copy of `name` wherein all occurrences of\n`sep` (a dot, by default) were replaced by `rep` (the system's directory\nseparator, by default), and then tries to open the resulting file name.\nFor instance, if the path is the string\n "./?.lua;./?.lc;/usr/local/?/init.lua"\nthe search for the name `foo.a` will try to open the files `./foo/a.lua`,\n`./foo/a.lc`, and `/usr/local/foo/a/init.lua`, in that order.\nReturns the resulting name of the first file that it can open in read mode\n(after closing the file), or nil plus an error message if none succeeds.\n(This error message lists all file names it tried to open.)
seek file:seek([whence [, offset]])\nSets and gets the file position, measured from the beginning of the\nfile, to the position given by `offset` plus a base specified by the string\n`whence`, as follows:\n "set": base is position 0 (beginning of the file);\n "cur": base is current position;\n "end": base is end of file;\n\nIn case of success, function `seek` returns the final file position,\nmeasured in bytes from the beginning of the file. If `seek` fails, it returns\nnil, plus a string describing the error.\n\nThe default value for `whence` is `"cur"`, and for `offset` is 0. Therefore,\nthe call `file:seek()` returns the current file position, without changing\nit; the call `file:seek("set")` sets the position to the beginning of the\nfile (and returns 0); and the call `file:seek("end")` sets the position\nto the end of the file, and returns its size.
-sel_alpha buffer.sel_alpha (number)\nThe alpha value, ranging from `0` (transparent) to `255` (opaque), of the\nselection.\nThe default value is `buffer.SC_ALPHA_NOALPHA`, for no alpha.
+sel_alpha buffer.sel_alpha (number)\nThe alpha value, ranging from `0` (transparent) to `255` (opaque), of the\nselection.\nThe default value is `buffer.ALPHA_NOALPHA`, for no alpha.
sel_eol_filled buffer.sel_eol_filled (bool)\nExtend the selection to the right margin of the view.\nThe default value is `false`.
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_all buffer.select_all(buffer)\nSelects all of the buffer's text without scrolling the view.\n@param buffer The global buffer.
select_command textadept.menu.select_command()\nPrompts the user to select a menu command to run.
select_enclosed textadept.editing.select_enclosed(left, right)\nSelects the text between strings *left* and *right* containing the caret.\nIf already selected, toggles between selecting *left* and *right* too.\n@param left The left part of the enclosure.\n@param right The right part of the enclosure.
select_indented_block 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.
@@ -1474,7 +1018,7 @@ selection_duplicate buffer.selection_duplicate(buffer)\nDuplicates the selected
selection_empty buffer.selection_empty (bool, Read-only)\nWhether or not no text is selected.
selection_end buffer.selection_end (number)\nThe position of the end of the selected text.\nWhen set, becomes the current position, but is not scrolled into view.
selection_is_rectangle buffer.selection_is_rectangle (bool, Read-only)\nWhether or not the selection is a rectangular selection.
-selection_mode buffer.selection_mode (number)\nThe selection mode.\n\n* `buffer.SC_SEL_STREAM`\n Character selection.\n* `buffer.SC_SEL_RECTANGLE`\n Rectangular selection.\n* `buffer.SC_SEL_LINES`\n Line selection.\n* `buffer.SC_SEL_THIN`\n Thin rectangular selection. This is the mode after a rectangular\n selection has been typed into and ensures that no characters are\n selected.\n\nWhen set, caret movement alters the selected text until this field is set\nagain to the same value or `buffer:cancel()` is called.
+selection_mode buffer.selection_mode (number)\nThe selection mode.\n\n* `buffer.SEL_STREAM`\n Character selection.\n* `buffer.SEL_RECTANGLE`\n Rectangular selection.\n* `buffer.SEL_LINES`\n Line selection.\n* `buffer.SEL_THIN`\n Thin rectangular selection. This is the mode after a rectangular\n selection has been typed into and ensures that no characters are\n selected.\n\nWhen set, caret movement alters the selected text until this field is set\nagain to the same value or `buffer:cancel()` is called.
selection_n_anchor buffer.selection_n_anchor (table)\nTable of positions at the beginning of existing selections numbered from\nzero, the main selection.
selection_n_anchor_virtual_space buffer.selection_n_anchor_virtual_space (table)\nTable of positions at the beginning of virtual space selected in existing\nselections numbered from zero, the main selection.
selection_n_caret buffer.selection_n_caret (table)\nTable of positions at the end of existing selections numbered from zero,\nthe main selection.
@@ -1483,7 +1027,7 @@ selection_n_end buffer.selection_n_end (table)\nTable of positions at the end of
selection_n_start buffer.selection_n_start (table)\nTable of positions at the beginning of existing selections numbered from\nzero, the main selection.
selection_start buffer.selection_start (number)\nThe position of the beginning of the selected text.\nWhen set, becomes the anchor, but is not scrolled into view.
selections buffer.selections (number, Read-only)\nThe number of active selections.
-self textadept.adeptsense.syntax.self (table)\nThe language's syntax-equivalent of `self`. The default value is\n `'self'`.
+self textadept.adeptsense.syntax.self (table)\nThe language's syntax-equivalent of "self". The default value is\n `'self'`.
sense _M.cpp.sense\nThe C/C++ Adeptsense.\n It loads user tags from *`_USERHOME`/modules/cpp/tags* and user apidocs\n from *`_USERHOME`/modules/cpp/api*.
sense _M.css.sense\nThe CSS Adeptsense.\n It loads user tags from *`_USERHOME`/modules/css/tags* and user apidocs\n from *`_USERHOME`/modules/css/api*.
sense _M.hypertext.sense\nThe HTML Adeptsense.\n It loads user tags from *`_USERHOME`/modules/hypertext/tags* and user\n apidocs from *`_USERHOME`/modules/hypertext/api*.
@@ -1505,14 +1049,13 @@ set_hotspot_active_back buffer.set_hotspot_active_back(buffer, use_setting, colo
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_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 module if the module 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 textadept.menu.set_menubar(menubar)\nSets `ui.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 ui.menubar\n@see ui.menu
-set_property lexer.set_property(key, value)\nAssociates string property *key* with string *value*.\n@param key The string property key.\n@param value The string value.
set_save_point buffer.set_save_point(buffer)\nIndicates 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 between positions *start_pos* and *end_pos* in the\nbuffer, scrolling 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`).
+set_sel buffer.set_sel(buffer, start_pos, end_pos)\nSelects the buffer's text between positions *start_pos* and *end_pos*,\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`).
set_sel_back buffer.set_sel_back(buffer, use_setting, color)\nOverrides the default background color of the selection 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_sel_fore buffer.set_sel_fore(buffer, use_setting, color)\nOverrides the default foreground color of the selection 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_selection buffer.set_selection(buffer, end_pos, start_pos)\nSelects the range of text between positions *start_pos* to *end_pos* in the\nbuffer, removing all other selections.\n@param buffer The global buffer.\n@param end_pos The caret position of the range of text to select in *buffer*.\n@param start_pos The anchor position of the range of text to select in\n *buffer*.
+set_selection buffer.set_selection(buffer, end_pos, start_pos)\nSelects the buffer's text between positions *start_pos* to *end_pos*,\nremoving all other selections.\n@param buffer The global buffer.\n@param end_pos The caret position of the range of text to select in *buffer*.\n@param start_pos The anchor position of the range of text to select in\n *buffer*.
set_styling buffer.set_styling(buffer, length, style)\nSets the style of the next *length* characters, from the current styling\nposition, to style number *style*, in the range from `0` to `255`, and\nincrements the styling position by *length*.\n@param buffer The global buffer.\n@param length The number of characters to style.\n@param style The style number to set.
-set_text buffer.set_text(buffer, text)\nReplaces all of the text in the buffer with string *text*.\n@param buffer The global buffer.\n@param text The text to set.
+set_text buffer.set_text(buffer, text)\nReplaces the buffer's text with string *text*.\n@param buffer The global buffer.\n@param text The text to set.
set_theme ui.set_theme(name, ...)\nSets the editor theme name to *name* and optionally sets key-value pair\nargument properties.\nUser themes override Textadept's default themes when they have the same name.\nIf *name* contains slashes, it is assumed to be an absolute path to a theme\ninstead of a theme name.\n@param name The name or absolute path of a theme to set.\n@param ... Optional key-value argument pairs for theme properties to set.\n These override the theme's defaults.\n@usage ui.set_theme('light', 'font', 'Monospace', 'fontsize', 12)
set_visible_policy buffer.set_visible_policy(buffer, visible_policy, visible_slop)\nSets the visible policy bit-mask *visible_policy* for displaying lines using\n`buffer:ensure_visible_enforce_policy()` to *visible_slop* number of lines\nfrom the bottom of the view.\nIt is similar in operation to `buffer:set_y_caret_policy()`.\n@param buffer The global buffer.\n@param visible_policy The combination of `buffer.VISIBLE_SLOP` and\n `buffer.VISIBLE_STRICT` policy flags to set.\n@param visible_slop The slop value to use.
set_whitespace_back buffer.set_whitespace_back(buffer, use_setting, color)\nOverrides the background color of whitespace with *color*, in "0xBBGGRR"\nformat, 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.
@@ -1531,18 +1074,18 @@ setuservalue debug.setuservalue(udata, value)\nSets the given `value` as the Lua
setvbuf file:setvbuf(mode [, size])\nSets the buffering mode for an output file. There are three available\nmodes:\n "no": no buffering; the result of any output operation appears immediately.\n "full": full buffering; output operation is performed only when the\n buffer is full or when you explicitly `flush` the file (see\n `io.flush`).\n "line": line buffering; output is buffered until a newline is output or\n there is any input from some special files (such as a terminal\n device).\n\nFor the last two cases, `size` specifies the size of the buffer, in\nbytes. The default is an appropriate size.
shebangs textadept.file_types.shebangs (table)\nMap of shebang words to their associated lexers.\nIf the file has a shebang line, a line that starts with "#!" and is the first\nline in the file, each shebang word is matched against that line.
show_apidoc textadept.adeptsense.show_apidoc(sense)\nShows a call tip with API documentation for the symbol behind the caret.\nIf documentation is already being shown, cycles through multiple definitions.\n@param sense The Adeptsense returned by `adeptsense.new()`. If `nil`, uses\n the current language's Adeptsense (if it exists).\n@return list of apidocs on success or `nil`.\n@see get_symbol\n@see get_apidoc
-show_completions ui.command_entry.show_completions(completions)\nShows the completion list *completions* for the current word prefix.\nWord prefix characters are alphanumerics and underscores. On selection, the\nword prefix is replaced with the completion.\n@param completions The table of completions to show. Non-string values are\n ignored.
+show_completions ui.command_entry.show_completions(completions)\nShows completion list *completions* for the current word prefix.\nWord prefix characters are alphanumerics and underscores. On selection, the\nword prefix is replaced with the completion.\n@param completions The table of completions to show. Non-string values are\n ignored.
show_lines buffer.show_lines(buffer, start_line, end_line)\nShows 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 show.\n@param end_line The end line of the range of lines in *buffer* to show.
sin math.sin(x)\nReturns the sine of `x` (assumed to be in radians).
singular _M.rails.singular\nA map of plural controller names to their singulars. Add key-value pairs to\n this if the local function `singularize()` is incorrectly converting your\n plural controller name to its singular model name.
sinh math.sinh(x)\nReturns the hyperbolic sine of `x`.
size ui.size (table)\nA table containing the width and height pixel values of the Textadept window.
size view.size (number)\nThe pixel position of the split resizer if this view is part of a split\nview.
-snapopen io.snapopen(utf8_paths, filter, exclude_FILTER, ...)\nQuickly open files from *utf8_paths*, a "\n" delimited string of\nUTF-8-encoded directory paths, using a filtered list dialog.\nFiles shown in the dialog do not match any pattern in string or table\n*filter*, and, unless *exclude_FILTER* is `true`, `lfs.FILTER` as well. A\nfilter table contains Lua patterns that match 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. The number of files in the list is capped at\n`SNAPOPEN_MAX`.\n@param utf8_paths String list of UTF-8-encoded directory paths to search.\n@param filter Optional filter for files and folders to exclude.\n@param exclude_FILTER Optional flag indicating whether or not to exclude the\n default filter `lfs.FILTER` in the search. If `false`, adds `lfs.FILTER` to\n *filter*.\n The default value is `false` to include the default filter.\n@param ... Optional additional parameters to pass to `ui.dialog()`.\n@usage io.snapopen(buffer.filename:match('^.+/')) -- list all files in the\n current file's directory, subject to the default filter\n@usage io.snapopen('/project', '!%.lua$') -- list all Lua files in a project\n directory\n@usage io.snapopen('/project', {folders = {'build'}}) -- list all source\n files in a project directory\n@see lfs.FILTER\n@see SNAPOPEN_MAX
+snapopen io.snapopen(paths, filter, exclude_FILTER, ...)\nQuickly open files from *paths*, a "\n" delimited string of directory paths,\nusing a filtered list dialog.\nFiles shown in the dialog do not match any pattern in string or table\n*filter*, and, unless *exclude_FILTER* is `true`, `lfs.FILTER` as well. A\nfilter table contains Lua patterns that match 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. The number of files in the\nlist is capped at `SNAPOPEN_MAX`.\n@param paths String list of directory paths to search.\n@param filter Optional filter for files and folders to exclude.\n@param exclude_FILTER Optional flag indicating whether or not to exclude the\n default filter `lfs.FILTER` in the search. If `false`, adds `lfs.FILTER` to\n *filter*.\n The default value is `false` to include the default filter.\n@param ... Optional additional parameters to pass to `ui.dialog()`.\n@usage io.snapopen(buffer.filename:match('^.+/')) -- list all files in the\n current file's directory, subject to the default filter\n@usage io.snapopen('/project', '!%.lua$') -- list all Lua files in a project\n directory\n@usage io.snapopen('/project', {folders = {'build'}}) -- list all source\n files in a project directory\n@see lfs.FILTER\n@see SNAPOPEN_MAX
snippets _G.snippets (table)\nMap of snippet triggers with their snippet text, with language-specific\nsnippets tables assigned to a lexer name key.\nThis table also contains the `textadept.snippets` module.
snippets textadept.snippets (module)\nSnippets for Textadept.
sort table.sort(list [, comp])\nSorts list elements in a given order, *in-place*, from `list[1]` to\n`list[#list]`. If `comp` is given, then it must be a function that receives\ntwo list elements and returns true when the first element must come before\nthe second in the final order (so that `not comp(list[i+1],list[i])` will be\ntrue after the sort). If `comp` is not given, then the standard Lua operator\n`<` is used instead.\n\nThe sort algorithm is not stable; that is, elements considered equal by the\ngiven order may have their relative positions changed by the sort.
-space lexer.space (pattern)\nA pattern matching any whitespace character (`\t`, `\v`, `\f`, `\n`, `\r`,\nspace).
+space lexer.space (pattern)\nA pattern that matches any whitespace character ('\t', '\v', '\f', '\n',\n'\r', space).
split view.split(view, vertical)\nSplits the view into top and bottom views unless *vertical* is `true`,\nfocuses the new view, and returns both the old and new views.\nIf *vertical* is `false`, splits the view vertically into left and\nright views.\nEmits a `VIEW_NEW` event.\n@param view The view to split.\n@param vertical Optional flag indicating whether or not to split the view\n vertically. The default value is `false`, for horizontal.\n@return old view and new view.\n@see events.VIEW_NEW
sqrt math.sqrt(x)\nReturns the square root of `x`. (You can also use the expression `x^0.5`\nto compute this value.)
start_styling buffer.start_styling(buffer, position, style_mask, styling_mask)\nBegin styling at position *position* with styling bit-mask *styling_mask*.\n*styling_mask* specifies which style bits can be set with\n`buffer:set_styling()`.\n@param buffer The global buffer.\n@param position The position in *buffer* to start styling at.\n@param styling_mask The bit mask of style bits that can be set when styling.\n@usage buffer:start_styling(0, 0xFF)
@@ -1557,10 +1100,11 @@ stuttered_page_down buffer.stuttered_page_down(buffer)\nMoves the caret to the b
stuttered_page_down_extend buffer.stuttered_page_down_extend(buffer)\nLike `buffer:stuttered_page_down()`, but extends the selected text to the new\nposition.\n@param buffer The global buffer.
stuttered_page_up buffer.stuttered_page_up(buffer)\nMoves the caret to the top of the page, or if already there, up one page.\n@param buffer The global buffer.
stuttered_page_up_extend buffer.stuttered_page_up_extend(buffer)\nLike `buffer:stuttered_page_up()`, but extends the selected text to the new\nposition.\n@param buffer The global buffer.
-style_at buffer.style_at (table, Read-only)\nTable of style numbers at positions in the buffer starting from zero.
+style_at buffer.style_at (table, Read-only)\nTable of style numbers at positions starting from zero.
+style_at lexer.style_at (table, Read-only)\nTable of style names at positions in the buffer starting from zero.
style_back buffer.style_back (table)\nTable of background colors, in "0xBBGGRR" format, of text within styles for\nstyle numbers from `0` to `255`.
style_bold buffer.style_bold (table)\nTable of flags indicating whether or not text within styles has a bold font\nface for style numbers from `0` to `255`.\nThe default values are `false`.
-style_case buffer.style_case (table)\nTable of letter case modes of text within styles for style numbers from `0`\nto `255`.\n\n* `buffer.SC_CASE_MIXED`\n Display text in normally.\n* `buffer.SC_CASE_UPPER`\n Display text in upper case.\n* `buffer.SC_CASE_LOWER`\n Display text in lower case.\n\nThe default values are `buffer.SC_CASE_MIXED`.
+style_case buffer.style_case (table)\nTable of letter case modes of text within styles for style numbers from `0`\nto `255`.\n\n* `buffer.CASE_MIXED`\n Display text in normally.\n* `buffer.CASE_UPPER`\n Display text in upper case.\n* `buffer.CASE_LOWER`\n Display text in lower case.\n\nThe default values are `buffer.CASE_MIXED`.
style_changeable buffer.style_changeable (table)\nTable of flags indicating whether or not text within styles is changeable\nfor style numbers from `0` to `255`.\nThe default values are `true`.\nCurrently, read-only styles do not allow the caret into the range of text,\nbut ranges containing read-only text are deletable.
style_clear_all buffer.style_clear_all(buffer)\nSets all styles to have the same properties as\n`buffer.STYLE_DEFAULT`.\n@param buffer The global buffer.
style_eol_filled buffer.style_eol_filled (table)\nTable of flags indicating whether or not the background colors of styles\nwhose characters occur last on lines extend all the way to the right margin\nof the view for style numbers from `0` to `255`.\nThe default values are `false`.
@@ -1579,7 +1123,7 @@ switch_buffer ui.switch_buffer()\nPrompts the user to select a buffer to switch
symbol_chars textadept.adeptsense.syntax.symbol_chars (table)\nA Lua pattern of characters allowed in a symbol,\n including member operators. The pattern should be a character set.\n The default value is `'[%w_%.]'`.
symlinkattributes lfs.symlinkattributes(filepath [, aname])\nIdentical to lfs.attributes except that it obtains information about the link\nitself (not the file it refers to). This function is not available in Windows\nso you may want to make sure that lfs.symlinkattributes exists before using\nit.
syntax textadept.adeptsense.syntax (table)\nMap of language-specific syntax settings.\n@see get_class
-tab buffer.tab(buffer)\nIndents the text on the selected lines or inserts a Tab character ("\t") at\nthe caret position.\n@param buffer The global buffer.
+tab buffer.tab(buffer)\nIndents the text on the selected lines or types a Tab character ("\t") at\nthe caret position.\n@param buffer The global buffer.
tab_indents buffer.tab_indents (bool)\nTabbing indents within indentation.\nThe default value is `false`.
tab_width buffer.tab_width (number)\nThe number of space characters represented by a tab character.\nThe default value is `8`.
table _G.table (module)\nLua table module.
@@ -1591,7 +1135,7 @@ target_from_selection buffer.target_from_selection(buffer)\nSets the beginning a
target_start buffer.target_start (number)\nThe position of the beginning of the target range.\nThis is also set by a successful\n`buffer:search_in_target()`.
text_height buffer.text_height(buffer, line)\nReturns the pixel height of line number *line*.\n@param buffer The global buffer.\n@param line The line number in *buffer* to get the pixel height of.\n@return number
text_length buffer.text_length (number, Read-only)\nThe number of bytes in the buffer.
-text_range buffer.text_range(buffer, start_pos, end_pos)\nReturns the range of text between positions *start_pos* and *end_pos* in the\nbuffer.\n@param buffer The global buffer.\n@param start_pos The start position of the range of text to get in *buffer*.\n@param end_pos The end position of the range of text to get in *buffer*.
+text_range buffer.text_range(buffer, start_pos, end_pos)\nReturns the buffer's text between positions *start_pos* and *end_pos*.\n@param buffer The global buffer.\n@param start_pos The start position of the range of text to get in *buffer*.\n@param end_pos The end position of the range of text to get in *buffer*.
text_width buffer.text_width(buffer, style_num, text)\nReturns the pixel width of string *text* styled with style number\n*style_num*, in the range of `0` to `255`.\n@param buffer The global buffer.\n@param style_num The style number between `0` and `255` to use.\n@param text The text to measure the width of.\n@return number
textadept _G.textadept (module)\nThe textadept module.\nIt provides utilities for editing text in Textadept.
time os.time([table])\nReturns the current time when called without arguments, or a time\nrepresenting the date and time specified by the given table. This table\nmust have fields `year`, `month`, and `day`, and may have fields `hour`\n(default is 12), `min` (default is 0), `sec` (default is 0), and `isdst`\n(default is nil). For a description of these fields, see the `os.date`\nfunction.\n\nThe returned value is a number, whose meaning depends on your system. In\nPOSIX, Windows, and some other systems, this number counts the number of\nseconds since some given start time (the "epoch"). In other systems, the\nmeaning is not specified, and the number returned by `time` can be used only\nas an argument to `os.date` and `os.difftime`.
@@ -1601,7 +1145,7 @@ tmpfile io.tmpfile()\nReturns a handle for a temporary file. This file is opened
tmpname os.tmpname()\nReturns a string with a file name that can be used for a temporary\nfile. The file must be explicitly opened before its use and explicitly\nremoved when no longer needed.\n\nOn POSIX systems, this function also creates a file with that name, to avoid\nsecurity risks. (Someone else might create the file with wrong permissions in\nthe time between getting the name and creating the file.) You still have to\nopen the file to use it and to remove it (even if you do not use it).\n\nWhen possible, you may prefer to use `io.tmpfile`, which automatically\nremoves the file when the program ends.
toggle textadept.bookmarks.toggle(on)\nToggles the bookmark on the current line unless *on* is given.\nIf *on* is `true` or `false`, adds or removes the bookmark, respectively.\n@param on Optional flag indicating whether to add or remove a bookmark on the\n current line. The default value is `nil`, toggling a bookmark.
toggle_block _M.ruby.toggle_block()\nToggles between `{ ... }` and `do ... end` Ruby blocks.\nIf the caret is inside a `{ ... }` single-line block, that block is converted\nto a multiple-line `do .. end` block. If the caret is on a line that contains\nsingle-line `do ... end` block, that block is converted to a single-line\n`{ ... }` block. If the caret is inside a multiple-line `do ... end` block,\nthat block is converted to a single-line `{ ... }` block with all newlines\nreplaced by a space. Indentation is important. The `do` and `end` keywords\nmust be on lines with the same level of indentation to toggle correctly.
-toggle_caret_sticky buffer.toggle_caret_sticky(buffer)\nCycles between caret sticky option settings `buffer.SC_CARETSTICKY_ON`,\n`buffer.SC_CARETSTICKY_WHITESPACE`, and `buffer.SC_CARETSTICKY_OFF`.\n@param buffer The global buffer.\n@see caret_sticky
+toggle_caret_sticky buffer.toggle_caret_sticky(buffer)\nCycles between caret sticky option settings `buffer.CARETSTICKY_ON`,\n`buffer.CARETSTICKY_WHITESPACE`, and `buffer.CARETSTICKY_OFF`.\n@param buffer The global buffer.\n@see caret_sticky
toggle_fold buffer.toggle_fold(buffer, line)\nToggles the fold state of the fold header on line number *line* between\nexpanded, where all of its child lines are displayed, and contracted, where\nall of its child lines are hidden.\n@param buffer The global buffer.\n@param line The line number in *buffer* to toggle the fold on.
token lexer.token(name, patt)\nCreates and returns a token pattern with the name *name* and pattern *patt*.\nIf *name* is not a predefined token name, its style must be defined in the\nlexer's `_tokenstyles` table.\n@param name The name of token. If this name is not a predefined token name,\n then a style needs to be assiciated with it in the lexer's `_tokenstyles`\n table.\n@param patt The LPeg pattern associated with the token.\n@usage local ws = token(l.WHITESPACE, l.space^1)\n@usage local annotation = token('annotation', '@' * l.word)\n@return pattern
tonumber _G.tonumber(e [, base])\nWhen called with no `base`, `tonumber` tries to convert its argument to a\nnumber. If the argument is already a number or a string convertible to a\nnumber (see §3.4.2), then `tonumber` returns this number; otherwise, it\nreturns nil.\n\nWhen called with `base`, then `e` should be a string to be interpreted as an\ninteger numeral in that base. The base may be any integer between 2 and 36,\ninclusive. In bases above 10, the letter '`A`' (in either upper or lower\ncase) represents 10, '`B`' represents 11, and so forth, with '`Z`'\nrepresenting 35. If the string `e` is not a valid numeral in the given base,\nthe function returns nil
@@ -1625,7 +1169,7 @@ undo_collection buffer.undo_collection (bool)\nCollect undo information.\nWhen s
unlock lfs.unlock(filehandle[, start[, length]])\nUnlocks a file or a part of it. This function works on open files; the file\nhandle should be specified as the first argument. The optional arguments\nstart and length can be used to specify a starting point and its length; both\nshould be numbers.\n\nReturns true if the operation was successful; in case of error, it returns\nnil plus an error string.
unpack table.unpack(list [, i [, j]])\nReturns the elements from the given table. This function is equivalent to\n\n return list[i], list[i+1], ···, list[j]\n\nBy default, `i` is 1 and `j` is `#list`.
unsplit view.unsplit(view)\nUnsplits the view if possible, returning `true` on success.\n@param view The view to unsplit.\n@return boolean if the view was unsplit or not.
-upper lexer.upper (pattern)\nA pattern matching any upper case character (`A-Z`).
+upper lexer.upper (pattern)\nA pattern that matches any upper case character ('A'-'Z').
upper string.upper(s)\nReceives a string and returns a copy of this string with all lowercase\nletters changed to uppercase. All other characters are left unchanged. The\ndefinition of what a lowercase letter is depends on the current locale.
upper_case buffer.upper_case(buffer)\nConverts the selected text to upper case letters.\n@param buffer The global buffer.
upvalueid debug.upvalueid(f, n)\nReturns an unique identifier (as a light userdata) for the upvalue numbered\n`n` from the given function.\n\nThese unique identifiers allow a program to check whether different closures\nshare upvalues. Lua closures that share an upvalue (that is, that access a\nsame external local variable) will return identical ids for those upvalue\nindices.
@@ -1643,16 +1187,16 @@ vc_home_wrap_extend buffer.vc_home_wrap_extend(buffer)\nLike `buffer:vc_home_wra
version lpeg.version()\nReturns a string with the running version of LPeg.
vertical_centre_caret buffer.vertical_centre_caret(buffer)\nCenters current line in the view.\n@param buffer The global buffer.
view _G.view (module)\nA Textadept view object.
-view _G.view (table)\nThe currently focused view.
+view _G.view (table)\nThe current view.
view_eol buffer.view_eol (bool)\nDisplay end of line characters.\nThe default value is `false`.
-view_ws buffer.view_ws (number)\nThe whitespace character visibility mode.\n\n* `buffer.SCWS_INVISIBLE`\n Whitespace is invisible.\n* `buffer.SCWS_VISIBLEALWAYS`\n Display all whitespace as dots and arrows.\n* `buffer.SCWS_VISIBLEAFTERINDENT`\n Display only non-indentation whitespace as dots and arrows.\n\nThe default value is `buffer.SCWS_INVISIBLE`.
-virtual_space_options buffer.virtual_space_options (number)\nThe virtual space mode.\n\n* `buffer.SCVS_NONE`\n Disable virtual space.\n* `buffer.SCVS_RECTANGULARSELECTION`\n Enable virtual space only for rectangular selections.\n* `buffer.SCVS_USERACCESSIBLE`\n Enable virtual space.\n\nThe default value is `buffer.SCVS_NONE`.
+view_ws buffer.view_ws (number)\nThe whitespace character visibility mode.\n\n* `buffer.WS_INVISIBLE`\n Whitespace is invisible.\n* `buffer.WS_VISIBLEALWAYS`\n Display all whitespace as dots and arrows.\n* `buffer.WS_VISIBLEAFTERINDENT`\n Display only non-indentation whitespace as dots and arrows.\n\nThe default value is `buffer.WS_INVISIBLE`.
+virtual_space_options buffer.virtual_space_options (number)\nThe virtual space mode.\n\n* `buffer.VS_NONE`\n Disable virtual space.\n* `buffer.VS_RECTANGULARSELECTION`\n Enable virtual space only for rectangular selections.\n* `buffer.VS_USERACCESSIBLE`\n Enable virtual space.\n\nThe default value is `buffer.VS_NONE`.
visible_from_doc_line buffer.visible_from_doc_line(buffer, line)\nReturns the displayed line number of actual line number *line*, taking hidden\nlines into account, or `-1` if *line* is outside the range of lines in the\nbuffer.\nLines can occupy more than one display line if they wrap.\n@param buffer The global buffer.\n@param line The line number in *buffer* to use.\n@return number
whitespace_chars buffer.whitespace_chars (string)\nThe string set of characters recognized as whitespace characters.\nSet this only after setting `buffer.word_chars`.\nThe default value is a string containing all non-newline characters less\nthan ASCII value 33.
whitespace_size buffer.whitespace_size (number)\nThe pixel size of the dots representing space characters when whitespace is\nvisible.\nThe default value is `1`.
whole_word ui.find.whole_word (bool)\nMatch only whole-words in searches.\nThe default value is `false`.
whole_word_label_text ui.find.whole_word_label_text (string, Write-only)\nThe text of the "Whole word" label.\nThis is primarily used for localization.
-word lexer.word (pattern)\nA pattern matching a typical word starting with a letter or underscore and\nthen any alphanumeric or underscore characters.
+word lexer.word (pattern)\nA pattern that matches a typical word starting with a letter or underscore\nand then any alphanumeric or underscore characters.
word_chars buffer.word_chars (string)\nThe string set of characters recognized as word characters.\nThe default value is a string containing alphanumeric characters, an\nunderscore, and all characters greater than ASCII value 127.
word_chars textadept.adeptsense.syntax.word_chars (table)\nA Lua pattern of characters allowed in a word.\n The default value is `'%w_'`.
word_end_position buffer.word_end_position(buffer, pos, only_word_chars)\nReturns the position of the end of the word at position *pos*.\n`buffer.word_chars` contains word characters. If *pos* has a non-word\ncharacter to its right and *only_word_chars* is `false`, returns the position\nof the first word character.\n@param buffer The global buffer.\n@param pos The position in *buffer* of the word.\n@param only_word_chars If `true`, stops searching at the first non-word\n character in the search direction. Otherwise, the first character in the\n search direction sets the type of the search as word or non-word and the\n search stops at the first non-matching character. Searches are also\n terminated by the start or end of the buffer.
@@ -1660,7 +1204,7 @@ word_left buffer.word_left(buffer)\nMoves the caret left one word.\n`buffer.word
word_left_end buffer.word_left_end(buffer)\nMoves the caret left one word, positioning it at the end of the previous\nword.\n`buffer.word_chars` contains word characters.\n@param buffer The global buffer.
word_left_end_extend buffer.word_left_end_extend(buffer)\nLike `buffer:word_left_end()`, but extends the selected text to the new\nposition.\n@param buffer The global buffer.
word_left_extend buffer.word_left_extend(buffer)\nMoves the caret left one word, extending the selected text to the new\nposition.\n`buffer.word_chars` contains word characters.\n@param buffer The global buffer.
-word_match lexer.word_match(words, word_chars, case_insensitive)\nCreates and returns a pattern that matches any word in the set *words*\ncase-sensitively, unless *case_insensitive* is `true`, with the set of word\ncharacters being alphanumerics, underscores, and all of the characters in\n*word_chars*.\nThis is a convenience function for simplifying a set of ordered choice word\npatterns.\n@param words A table of words.\n@param word_chars Optional string of additional characters considered to be\n part of a word. By default, word characters are alphanumerics and\n underscores ("%w_" in Lua). This parameter may be `nil` or the empty string\n to indicate no additional word characters.\n@param case_insensitive Optional boolean flag indicating whether or not the\n word match is case-insensitive. The default is `false`.\n@usage local keyword = token(l.KEYWORD, word_match{'foo', 'bar', 'baz'})\n@usage local keyword = token(l.KEYWORD, word_match({'foo-bar', 'foo-baz',\n 'bar-foo', 'bar-baz', 'baz-foo', 'baz-bar'}, '-', true))\n@return pattern
+word_match lexer.word_match(words, word_chars, case_insensitive)\nCreates and returns a pattern that matches any word in set *words*\ncase-sensitively, unless *case_insensitive* is `true`, with the set of word\ncharacters being alphanumerics, underscores, and all of the characters in\nstring *word_chars*.\nThis is a convenience function for simplifying a set of ordered choice word\npatterns.\n@param words A table of words.\n@param word_chars Optional string of additional characters considered to be\n part of a word. By default, word characters are alphanumerics and\n underscores ("%w_" in Lua). This parameter may be `nil` or the empty string\n to indicate no additional word characters.\n@param case_insensitive Optional boolean flag indicating whether or not the\n word match is case-insensitive. The default is `false`.\n@usage local keyword = token(l.KEYWORD, word_match{'foo', 'bar', 'baz'})\n@usage local keyword = token(l.KEYWORD, word_match({'foo-bar', 'foo-baz',\n 'bar-foo', 'bar-baz', 'baz-foo', 'baz-bar'}, '-', true))\n@return pattern
word_part_left buffer.word_part_left(buffer)\nMoves the caret to the previous underscore or change in capitalization within\nthe current word.\n`buffer.word_chars` contains word characters.\n@param buffer The global buffer.
word_part_left_extend buffer.word_part_left_extend(buffer)\nMoves the caret to the previous underscore or change in capitalization within\nthe current word, extending the selected text to the new position.\n`buffer.word_chars` contains word characters.\n@param buffer The global buffer.
word_part_right buffer.word_part_right(buffer)\nMoves the caret to the next underscore or change in capitalization within the\ncurrent word.\n`buffer.word_chars` contains word characters.\n@param buffer The global buffer.
@@ -1672,15 +1216,15 @@ word_right_extend buffer.word_right_extend(buffer)\nMoves the caret right one wo
word_start_position buffer.word_start_position(buffer, pos, only_word_chars)\nReturns the position of the beginning of the word at position *pos*.\n`buffer.word_chars` contains word characters. If *pos* has a non-word\ncharacter to its left and *only_word_chars* is `false`, returns the position\nof the last word character.\n@param buffer The global buffer.\n@param pos The position in *buffer* of the word.\n@param only_word_chars If `true`, stops searching at the first non-word\n character in the search direction. Otherwise, the first character in the\n search direction sets the type of the search as word or non-word and the\n search stops at the first non-matching character. Searches are also\n terminated by the start or end of the buffer.
wrap coroutine.wrap(f)\nCreates a new coroutine, with body `f`. `f` must be a Lua\nfunction. Returns a function that resumes the coroutine each time it is\ncalled. Any arguments passed to the function behave as the extra arguments to\n`resume`. Returns the same values returned by `resume`, except the first\nboolean. In case of error, propagates the error.
wrap_count buffer.wrap_count(buffer, line)\nReturns the number of wrapped lines needed to display line number *line*.\n@param buffer The global buffer.\n@param line The line number in *buffer* to use.\n@return number
-wrap_indent_mode buffer.wrap_indent_mode (number)\nThe wrapped line indent mode.\n\n* `buffer.SC_WRAPINDENT_FIXED`\n Indent wrapped lines by `buffer.wrap_start_indent`.\n* `buffer.SC_WRAPINDENT_SAME`\n Indent wrapped lines the same as the first line.\n* `buffer.SC_WRAPINDENT_INDENT`\n Indent wrapped lines one more level than the first line.\n\nThe default value is `buffer.SC_WRAPINDENT_FIXED`.
-wrap_mode buffer.wrap_mode (number)\nLong line wrap mode.\n\n* `buffer.SC_WRAP_NONE`\n Long lines are not wrapped.\n* `buffer.SC_WRAP_WORD`\n Wrap long lines at word boundaries.\n* `buffer.SC_WRAP_CHAR`\n Wrap long lines at character boundaries.\n\nThe default value is `buffer.SC_WRAP_NONE`.
-wrap_start_indent buffer.wrap_start_indent (number)\nThe number of spaces to indent wrapped lines by if\n`buffer.wrap_indent_mode` is\n`buffer.SC_WRAP_INDENT_FIXED`.\nThe default value is `0`.
-wrap_visual_flags buffer.wrap_visual_flags (number)\nThe wrapped line visual display mode.\n\n* `buffer.SC_WRAPVISUALFLAG_NONE`\n No visual flags.\n* `buffer.SC_WRAPVISUALFLAG_END`\n Show visual flag at the end of the line.\n* `buffer.SC_WRAPVISUALFLAG_START`\n Show visual flag at the beginning of the sub-line.\n* `buffer.SC_WRAPVISUALFLAG_MARGIN`\n Show visual flag in the line number margin of the sub-line.\n\nThe default value is `buffer.SC_WRAPVISUALFLAG_NONE`.
-wrap_visual_flags_location buffer.wrap_visual_flags_location (number)\nThe wrapped line visual flag drawing mode.\n\n* `buffer.SC_WRAPVISUALFLAGLOC_DEFAULT`\n Draw the visual flag near the right border.\n* `buffer.SC_WRAPVISUALFLAGLOC_END_BY_TEXT`\n Draw the visual flag near text at the end of the line.\n* `buffer.SC_WRAPVISUALFLAGLOC_START_BY_TEXT`\n Draw the visual flag near text at the beginning of the subline.\n\nThe default value is `buffer.SC_WRAPVISUALFLAGLOC_DEFAULT`.
+wrap_indent_mode buffer.wrap_indent_mode (number)\nThe wrapped line indent mode.\n\n* `buffer.WRAPINDENT_FIXED`\n Indent wrapped lines by `buffer.wrap_start_indent`.\n* `buffer.WRAPINDENT_SAME`\n Indent wrapped lines the same as the first line.\n* `buffer.WRAPINDENT_INDENT`\n Indent wrapped lines one more level than the first line.\n\nThe default value is `buffer.WRAPINDENT_FIXED`.
+wrap_mode buffer.wrap_mode (number)\nLong line wrap mode.\n\n* `buffer.WRAP_NONE`\n Long lines are not wrapped.\n* `buffer.WRAP_WORD`\n Wrap long lines at word boundaries.\n* `buffer.WRAP_CHAR`\n Wrap long lines at character boundaries.\n\nThe default value is `buffer.WRAP_NONE`.
+wrap_start_indent buffer.wrap_start_indent (number)\nThe number of spaces to indent wrapped lines by if\n`buffer.wrap_indent_mode` is\n`buffer.WRAP_INDENT_FIXED`.\nThe default value is `0`.
+wrap_visual_flags buffer.wrap_visual_flags (number)\nThe wrapped line visual display mode.\n\n* `buffer.WRAPVISUALFLAG_NONE`\n No visual flags.\n* `buffer.WRAPVISUALFLAG_END`\n Show visual flag at the end of the line.\n* `buffer.WRAPVISUALFLAG_START`\n Show visual flag at the beginning of the sub-line.\n* `buffer.WRAPVISUALFLAG_MARGIN`\n Show visual flag in the line number margin of the sub-line.\n\nThe default value is `buffer.WRAPVISUALFLAG_NONE`.
+wrap_visual_flags_location buffer.wrap_visual_flags_location (number)\nThe wrapped line visual flag drawing mode.\n\n* `buffer.WRAPVISUALFLAGLOC_DEFAULT`\n Draw the visual flag near the right border.\n* `buffer.WRAPVISUALFLAGLOC_END_BY_TEXT`\n Draw the visual flag near text at the end of the line.\n* `buffer.WRAPVISUALFLAGLOC_START_BY_TEXT`\n Draw the visual flag near text at the beginning of the subline.\n\nThe default value is `buffer.WRAPVISUALFLAGLOC_DEFAULT`.
write file:write(···)\nWrites the value of each of its arguments to `file`. The arguments must be\nstrings or numbers.\n\nIn case of success, this function returns `file`. Otherwise it returns nil\nplus a string describing the error.
write io.write(···)\nEquivalent to `io.output():write(···)`.
x_offset buffer.x_offset (number)\nThe horizontal scroll position in pixels.\nA value of `0` is the normal position with the first text column visible at\nthe left of the view.
-xdigit lexer.xdigit (pattern)\nA pattern matching any hexadecimal digit (`0-9`, `A-F`, `a-f`).
+xdigit lexer.xdigit (pattern)\nA pattern that matches any hexadecimal digit ('0'-'9', 'A'-'F', 'a'-'f').
xor bit32.xor(...)\nReturns the bitwise "exclusive or" of its operands.
xpcall _G.xpcall(f, msgh [, arg1, ···])\nThis function is similar to `pcall`, except that it sets a new message\nhandler `msgh`.
yield coroutine.yield(···)\nSuspends the execution of the calling coroutine. Any arguments to `yield` are\npassed as extra results to `resume`.