aboutsummaryrefslogtreecommitdiff
path: root/modules/lua/ta_api
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2020-06-08 08:37:03 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2020-06-08 08:37:03 -0400
commitada6a867c87be0ed746cdb94c28ff24f8288280c (patch)
tree32fd916ced3128af7e5ef1725b9f1685ee121703 /modules/lua/ta_api
parent20833c35fd6d580c934cb6c3f6e7b9a2c39ac99b (diff)
downloadtextadept-ada6a867c87be0ed746cdb94c28ff24f8288280c.tar.gz
textadept-ada6a867c87be0ed746cdb94c28ff24f8288280c.zip
Prefer `view.property*` instead of `buffer.property*`.
Diffstat (limited to 'modules/lua/ta_api')
-rw-r--r--modules/lua/ta_api6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/lua/ta_api b/modules/lua/ta_api
index 7dbfbf45..6e352683 100644
--- a/modules/lua/ta_api
+++ b/modules/lua/ta_api
@@ -868,12 +868,12 @@ print lexer.print (pattern)\nA pattern that matches any printable character (' '
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.
progressbar ui.dialogs.progressbar(options, f)\nDisplays a progressbar dialog, defined by dialog options table *options*,\nthat receives updates from function *f*.\nReturns "stopped" if *options*.`stoppable` is `true` and the user clicked the\n"Stop" button. Otherwise, returns `nil`.\n@param options Table of key-value option pairs for the progressbar dialog.\n\n * `title`: The dialog's title text.\n * `percent`: The initial progressbar percentage between 0 and 100.\n * `text`: The initial progressbar display text (GTK only).\n * `indeterminate`: Show the progress bar as "busy", with no percentage\n updates.\n * `stoppable`: Show the "Stop" button.\n * `width`: The dialog's pixel width.\n * `height`: The dialog's pixel height.\n@param f Function repeatedly called to do work and provide progress updates.\n The function is called without arguments and must return either `nil`,\n which indicates work is complete, or a progress percentage number in the\n range 0-100 and an optional string to display (GTK only). If the text is\n either "stop disable" or "stop enable" and *options*.`stoppable` is `true`,\n the "Stop" button is disabled or enabled, respectively.\n@usage ui.dialogs.progressbar({stoppable = true},\n function() if work() then return percent, status else return nil end end)\n@return nil or "stopped"
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 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 `$()` and `%()` variable\nreplacement performed in values.
+property view.property (table)\nMap of key-value string pairs used by lexers.
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.
+property_expanded view.property_expanded (table, Read-only)\nMap of key-value string pairs used by lexers with `$()` and `%()` variable\nreplacement performed in values.
property_int lexer.property_int (table, Read-only)\nMap of key-value pairs with values interpreted as numbers, or `0` if not\nfound.
+property_int view.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 that matches any punctuation character ('!' to '/', ':' to '@',\n'[' 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 that contains all non-word and non-whitespace\ncharacters.
python _G.keys.python (table)\nContainer for Python-specific key bindings.