From 9f804f70df793dd2d50c0b14000ab83a6bc02b83 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 12 Dec 2011 19:15:53 -0500 Subject: Remove 'module' and update LuaDoc comments appropriately. --- modules/textadept/command_entry.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'modules/textadept/command_entry.lua') 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 -- cgit v1.2.3