diff options
author | 2020-10-02 15:57:44 -0400 | |
---|---|---|
committer | 2020-10-02 15:57:44 -0400 | |
commit | fbdab8f56e606d28f74d26bc729c8f835aed23db (patch) | |
tree | a0f95afb6b175059bb58dad884d172affcb9b200 /docs/manual.md | |
parent | 19ab592c17cb5c0fbf16de34ffba25d2f95f7cc4 (diff) | |
download | textadept-fbdab8f56e606d28f74d26bc729c8f835aed23db.tar.gz textadept-fbdab8f56e606d28f74d26bc729c8f835aed23db.zip |
Command entry also considers contents of `textadept` as globals.
Include buffer/view constants as well, which should have been there anyway.
Diffstat (limited to 'docs/manual.md')
-rw-r--r-- | docs/manual.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/manual.md b/docs/manual.md index c917027c..d090f323 100644 --- a/docs/manual.md +++ b/docs/manual.md @@ -626,10 +626,10 @@ You can open the Lua command entry via `Ctrl+E` on Windows, Linux, and BSD, Lua's interactive prompt. Type in the Lua command or code to run and press `Enter` to invoke or run it. Textadept's [Lua API][] contains all of the application's built-in commands. For convenience, the contents of the -[`buffer`][], [`view`][], and [`ui`][] tables are considered to be global -variables, the first parameter to `buffer` and `view` functions may be omitted, -and function call parentheses can also be omitted. For example, instead of -entering `buffer:append_text('foo')`, you can enter `append_text('foo')`. +[`buffer`][], [`view`][], [`ui`][], and [`textadept`][] tables are considered to +be global variables, the first parameter to `buffer` and `view` functions may be +omitted, and function call parentheses can also be omitted. For example, instead +of entering `buffer:append_text('foo')`, you can enter `append_text('foo')`. Instead of `view:split()`, you can simply use `split`. These convenience facilities are not available in normally executed Lua code, such as code in *~/.textadept/init.lua*. @@ -666,6 +666,7 @@ file. [`buffer`]: api.html#buffer [`view`]: api.html#view [`ui`]: api.html#ui +[`textadept`]: api.html#textadept ##### Shell Command Entry and Filtering Text |