From 1a2b4bfecce766e97dc16009997599a7846c64b6 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 12 Dec 2013 12:09:32 -0500 Subject: More LuaDoc updates. --- modules/textadept/command_entry.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'modules/textadept/command_entry.lua') 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 -- cgit v1.2.3