From 884d8f5675bdd3c3c8d308e6f2df4f8497afa1a3 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 12 Jan 2012 22:59:59 -0500 Subject: Create separate LuaDoc for module table fields. --- core/gui.lua | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'core/gui.lua') diff --git a/core/gui.lua b/core/gui.lua index 03f021ca..4413c68e 100644 --- a/core/gui.lua +++ b/core/gui.lua @@ -10,13 +10,11 @@ module('gui')]] -- ## Fields -- -- * `title` [string]: The title of the Textadept window. --- * `menubar` [table]: A table of GTK menus defining a menubar. (Write-only) -- * `context_menu`: A GTK menu defining the editor's context menu. -- * `clipboard_text` [string]: The text on the clipboard. (Read-only) -- * `statusbar_text` [string]: The text displayed by the statusbar. -- * `docstatusbar_text` [string]: The text displayed by the doc statusbar. -- (Write-only) --- * `size` [table]: The size of the Textadept window (`{ width, height }`). local _L = _L @@ -408,7 +406,21 @@ end) events_connect(events.ERROR, function(...) gui._print(_L['[Error Buffer]'], ...) end) ---[[ The functions below are Lua C functions. +--[[ The tables below were defined in C. + +--- +-- A table of GTK menus defining a menubar. (Write-only) +-- @class table +-- @name menubar +local menubar + +--- +-- The size of the Textadept window (`{ width, height }`). +-- @class table +-- @name size +local size + +The functions below are Lua C functions. --- -- Displays a gcocoadialog of a specified type with the given string arguments. -- cgit v1.2.3