diff options
author | 2015-04-30 23:41:49 -0400 | |
---|---|---|
committer | 2015-04-30 23:41:49 -0400 | |
commit | 49714f83abf714207c63c2338962ee19cec60f02 (patch) | |
tree | 8f7f85a571acb16f786d71926c43ea2bb5d0a924 /modules/lua | |
parent | cc9900e7ce4c9f15e7b449e63f2b195491cbb4a8 (diff) |
Updated Lua autocompletion and documentation.
Diffstat (limited to 'modules/lua')
-rw-r--r-- | modules/lua/api | 1 | ||||
-rw-r--r-- | modules/lua/tags | 1 |
2 files changed, 2 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. diff --git a/modules/lua/tags b/modules/lua/tags index 6e4e8058..4d6ce267 100644 --- a/modules/lua/tags +++ b/modules/lua/tags @@ -231,6 +231,7 @@ REPLACE_ALL _ 0;" F class:events RESET_AFTER _ 0;" F class:events RESET_BEFORE _ 0;" F class:events RESUME _ 0;" F class:events +RUN_IN_BACKGROUND _ 0;" F class:textadept.run RUN_OUTPUT _ 0;" F class:events S _ 0;" f class:lpeg SAVE_ON_QUIT _ 0;" F class:textadept.session |