diff options
author | 2011-12-12 19:15:53 -0500 | |
---|---|---|
committer | 2011-12-12 19:15:53 -0500 | |
commit | 9f804f70df793dd2d50c0b14000ab83a6bc02b83 (patch) | |
tree | 12b826dc06b800d868854231d4db56d489697832 /modules/textadept/command_entry.lua | |
parent | 51bfd53e48d5310eb786069b758e0430129daf54 (diff) | |
download | textadept-9f804f70df793dd2d50c0b14000ab83a6bc02b83.tar.gz textadept-9f804f70df793dd2d50c0b14000ab83a6bc02b83.zip |
Remove 'module' and update LuaDoc comments appropriately.
Diffstat (limited to 'modules/textadept/command_entry.lua')
-rw-r--r-- | modules/textadept/command_entry.lua | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/textadept/command_entry.lua b/modules/textadept/command_entry.lua index 3590c2cb..3eb3c6a5 100644 --- a/modules/textadept/command_entry.lua +++ b/modules/textadept/command_entry.lua @@ -4,6 +4,16 @@ local L = locale.localize local events = events +--[[ This comment is for LuaDoc. +--- +-- Textadept's Command entry. +module('gui.command_entry')]] + +-- Markdown: +-- ## Fields +-- +-- * `entry_text` [string]: The text in the entry. + -- Environment for abbreviated commands. -- @class table -- @name env @@ -81,3 +91,11 @@ events.connect(events.COMMAND_ENTRY_KEYPRESS, function(code) return true end end) + +-- The function below is a Lua C function. + +--- +-- Focuses the command entry. +-- @class function +-- @name focus +local focus |