aboutsummaryrefslogtreecommitdiff
path: root/core/gui.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-02-10 13:55:34 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2012-02-10 13:55:34 -0500
commitb3d0b5defde02020ad41225b4b11e82c4ea90af9 (patch)
treea3f3fbfd41b21757630c1e59cbf9d9ed801fa983 /core/gui.lua
parentfbcb4f5c1dcfa2ffa45fb82a3bad2e543ee071e9 (diff)
downloadtextadept-b3d0b5defde02020ad41225b4b11e82c4ea90af9.tar.gz
textadept-b3d0b5defde02020ad41225b4b11e82c4ea90af9.zip
Update LuaDoc with new formatting.
Diffstat (limited to 'core/gui.lua')
-rw-r--r--core/gui.lua24
1 files changed, 14 insertions, 10 deletions
diff --git a/core/gui.lua b/core/gui.lua
index 4413c68e..f8952b60 100644
--- a/core/gui.lua
+++ b/core/gui.lua
@@ -9,12 +9,16 @@ module('gui')]]
-- Markdown:
-- ## Fields
--
--- * `title` [string]: The title of the Textadept window.
--- * `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)
+-- * `title` [string]
+-- The title of the Textadept window.
+-- * `context_menu`
+-- A GTK menu defining the editor's context menu.
+-- * `clipboard_text` [string] (Read-only)
+-- The text on the clipboard.
+-- * `statusbar_text` [string]
+-- The text displayed by the statusbar.
+-- * `docstatusbar_text` [string] (Write-only)
+-- The text displayed by the doc statusbar.
local _L = _L
@@ -71,8 +75,8 @@ function gui.print(...) gui._print(_L['[Message Buffer]'], ...) end
-- @param columns A column name or list of column names.
-- @param items An item or list of items.
-- @param int_return If `true`, returns the integer index of the selected item
--- in the filteredlist. Defaults to `false`, which returns the string item.
--- Not compatible with a `'--select-multiple'` filteredlist.
+-- in the filteredlist. The default value is `false`, which returns the string
+-- item. Not compatible with a `'--select-multiple'` filteredlist.
-- @param ... Additional parameters to pass to `gui.dialog()`.
-- @return Either a string or integer on success; `nil` otherwise.
-- @usage gui.filteredlist('Title', 'Foo', { 'Bar', 'Baz' })
@@ -449,8 +453,8 @@ local get_split_table
-- Goes to the specified view.
-- Generates `VIEW_BEFORE_SWITCH` and `VIEW_AFTER_SWITCH` events.
-- @param n A relative or absolute view index.
--- @param relative Flag indicating if n is a relative index or not. Defaults to
--- false.
+-- @param relative Flag indicating if n is a relative index or not. The default
+-- value is `false`.
-- @class function
-- @name goto_view
local goto_view