aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/ui.lua
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2014-05-31 10:58:54 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2014-05-31 10:58:54 -0400
commit662add52092d91977dd22005bb871575aea92cc0 (patch)
tree7da83068e9d60a5ebe75e6abac1c851a6edc4c84 /core/ui.lua
parenta5fcec53f1acffa80890be5f0a3ae11b6ace7fb9 (diff)
Fixed erroneous LuaDoc.
Diffstat (limited to 'core/ui.lua')
-rw-r--r--core/ui.lua26
1 files changed, 8 insertions, 18 deletions
diff --git a/core/ui.lua b/core/ui.lua
index 8f40e2fa..7e5f56ed 100644
--- a/core/ui.lua
+++ b/core/ui.lua
@@ -7,6 +7,14 @@ local ui = ui
-- Utilities for interacting with Textadept's user interface.
-- @field title (string, Write-only)
-- The title text of Textadept's window.
+-- @field context_menu (userdata)
+-- The buffer's context menu, a [`ui.menu()`](#menu).
+-- This is a low-level field. You probably want to use the higher-level
+-- `textadept.menu.context_menu`.
+-- @field tab_context_menu (userdata)
+-- The context menu for the buffer's tab, a [`ui.menu()`](#menu).
+-- This is a low-level field. You probably want to use the higher-level
+-- `textadept.menu.tab_context_menu`.
-- @field clipboard_text (string)
-- The text on the clipboard.
-- @field statusbar_text (string, Write-only)
@@ -398,24 +406,6 @@ events_connect(events.ERROR, ui.print)
local menubar
---
--- A menu userdata that defines the buffer's context menu.
--- This is a low-level field. You probably want to use the higher-level
--- `textadept.menu.context_menu`.
--- @see textadept.menu.context_menu
--- @class table
--- @name context_menu
-local context_menu
-
----
--- A menu userdata that defines the context menu for the buffer's tab.
--- This is a low-level field. You probably want to use the higher-level
--- `textadept.menu.tab_context_menu`.
--- @see textadept.menu.tab_context_menu
--- @class table
--- @name tab_context_menu
-local tab_context_menu
-
----
-- A table containing the width and height pixel values of Textadept's window.
-- @class table
-- @name size