aboutsummaryrefslogtreecommitdiff
path: root/modules/lua/api
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2015-04-30 23:41:49 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2015-04-30 23:41:49 -0400
commit49714f83abf714207c63c2338962ee19cec60f02 (patch)
tree8f7f85a571acb16f786d71926c43ea2bb5d0a924 /modules/lua/api
parentcc9900e7ce4c9f15e7b449e63f2b195491cbb4a8 (diff)
downloadtextadept-49714f83abf714207c63c2338962ee19cec60f02.tar.gz
textadept-49714f83abf714207c63c2338962ee19cec60f02.zip
Updated Lua autocompletion and documentation.
Diffstat (limited to 'modules/lua/api')
-rw-r--r--modules/lua/api1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/lua/api b/modules/lua/api
index c55fe510..2b79d70e 100644
--- a/modules/lua/api
+++ b/modules/lua/api
@@ -231,6 +231,7 @@ REPLACE_ALL events.REPLACE_ALL (string)\nEmitted to replace all occurrences of f
RESET_AFTER events.RESET_AFTER (string)\nEmitted after resetting the Lua state.\nEmitted by `reset()`.
RESET_BEFORE events.RESET_BEFORE (string)\nEmitted before resetting the Lua state.\nEmitted by `reset()`.
RESUME events.RESUME (string)\nEmitted when resuming Textadept from a suspended state.\nThis event is only emitted by the terminal version.
+RUN_IN_BACKGROUND textadept.run.RUN_IN_BACKGROUND (bool)\nRun shell commands silently in the background.\nThis only applies when the message buffer is open, though it does not have\nto be visible.\nThe default value is `false`.
RUN_OUTPUT events.RUN_OUTPUT (string)\nEmitted when executing a language's run shell command.\nBy default, output is printed to the message buffer. To override this\nbehavior, connect to the event with an index of `1` and return `true`.\nArguments:\n\n* `lexer`: The language's lexer name.\n* `output`: A line of string output from the command.
S lpeg.S(string)\nReturns a pattern that matches any single character that appears in the given\nstring. (The S stands for Set.)\n\nAs an example, the pattern `lpeg.S("+-*/")` matches any arithmetic operator.\n\nNote that, if `s` is a character (that is, a string of length 1), then\n`lpeg.P(s)` is equivalent to `lpeg.S(s)` which is equivalent to\n`lpeg.R(s..s)`. Note also that both `lpeg.S("")` and `lpeg.R()` are patterns\nthat always fail.
SAVE_ON_QUIT textadept.session.SAVE_ON_QUIT (bool)\nSave the session when quitting.\nThe session file saved is always `textadept.session.DEFAULT_SESSION`, even\nif a different session was loaded with `textadept.session.load()`.\nThe default value is `true` unless the user passed the command line switch\n`-n` or `--nosession` to Textadept.