diff options
author | 2013-12-12 12:09:32 -0500 | |
---|---|---|
committer | 2013-12-12 12:09:32 -0500 | |
commit | 1a2b4bfecce766e97dc16009997599a7846c64b6 (patch) | |
tree | 45c98f01adcf575f27df34808da0dd81bd2a4dcc /modules/textadept/command_entry.lua | |
parent | d982def4a48569dbe16ef1303ec208ecd24a1af9 (diff) | |
download | textadept-1a2b4bfecce766e97dc16009997599a7846c64b6.tar.gz textadept-1a2b4bfecce766e97dc16009997599a7846c64b6.zip |
More LuaDoc updates.
Diffstat (limited to 'modules/textadept/command_entry.lua')
-rw-r--r-- | modules/textadept/command_entry.lua | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/textadept/command_entry.lua b/modules/textadept/command_entry.lua index ddd78c02..224109c0 100644 --- a/modules/textadept/command_entry.lua +++ b/modules/textadept/command_entry.lua @@ -56,7 +56,7 @@ end --- -- Exits the current key mode, closes the command entry, and calls function *f* --- (if given) with the command entry text as an argument. +-- (if given) with the command entry's text as an argument. -- This is useful for binding keys to exit a command entry mode and perform an -- action with the entered text. -- @param f Optional function to call. It should accept the command entry text @@ -91,9 +91,10 @@ local env = setmetatable({}, { }) --- --- Executes string *code* as Lua code subject to an "abbreviated" environment --- where the contents of the `buffer`, `view`, and `ui` tables are also --- considered as global functions and fields. +-- Executes string *code* as Lua code that is subject to an "abbreviated" +-- environment. +-- In this environment, the contents of the `buffer`, `view`, and `ui` tables +-- are also considered as global functions and fields. -- Prints the results of '=' expressions like in the Lua prompt. -- @param code The Lua code to execute. -- @name execute_lua |