aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/command_entry.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-12-12 12:09:32 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2013-12-12 12:09:32 -0500
commit1a2b4bfecce766e97dc16009997599a7846c64b6 (patch)
tree45c98f01adcf575f27df34808da0dd81bd2a4dcc /modules/textadept/command_entry.lua
parentd982def4a48569dbe16ef1303ec208ecd24a1af9 (diff)
downloadtextadept-1a2b4bfecce766e97dc16009997599a7846c64b6.tar.gz
textadept-1a2b4bfecce766e97dc16009997599a7846c64b6.zip
More LuaDoc updates.
Diffstat (limited to 'modules/textadept/command_entry.lua')
-rw-r--r--modules/textadept/command_entry.lua9
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