From 662add52092d91977dd22005bb871575aea92cc0 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sat, 31 May 2014 10:58:54 -0400 Subject: Fixed erroneous LuaDoc. --- core/ui.lua | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) (limited to 'core/ui.lua') 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) @@ -397,24 +405,6 @@ events_connect(events.ERROR, ui.print) -- @name menubar 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 -- cgit v1.2.3