diff options
Diffstat (limited to 'core/ui.lua')
-rw-r--r-- | core/ui.lua | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/core/ui.lua b/core/ui.lua index 392b961f..d4743a44 100644 --- a/core/ui.lua +++ b/core/ui.lua @@ -10,7 +10,7 @@ local ui = ui -- @field context_menu -- The editor's context menu, a [`ui.menu()`](#menu). -- This is a low-level field. You probably want to use the higher-level --- `_M.textadept.menu.set_contextmenu()`. +-- `textadept.menu.set_contextmenu()`. -- @field clipboard_text (string, Read-only) -- The text on the clipboard. -- @field statusbar_text (string, Write-only) @@ -377,7 +377,7 @@ events_connect(events.ERROR, ui.print) --- -- A table of menus defining a menubar. (Write-only) --- @see _M.textadept.menu.set_menubar +-- @see textadept.menu.set_menubar -- @class table -- @name menubar local menubar @@ -436,9 +436,9 @@ local goto_view --- -- Low-level function for creating a menu from table *menu_table* and returning -- the userdata. --- You probably want to use the higher-level `_M.textadept.menu.set_menubar()` --- or `_M.textadept.menu.set_contextmenu()` functions. Emits a `MENU_CLICKED` --- event when a menu item is selected. +-- You probably want to use the higher-level `textadept.menu.set_menubar()` +-- or `textadept.menu.set_contextmenu()` functions. Emits a `MENU_CLICKED` event +-- when a menu item is selected. -- @param menu_table A table defining the menu. It is an ordered list of tables -- with a string menu item, integer menu ID, and optional GDK keycode and -- modifier mask. The latter two are used to display key shortcuts in the @@ -448,8 +448,8 @@ local goto_view -- @usage ui.menu{{'_New', 1}, {'_Open', 2}, {''}, {'_Quit', 4}} -- @usage ui.menu{{'_New', 1, string.byte('n'), 4}} -- 'Ctrl+N' -- @see events.MENU_CLICKED --- @see _M.textadept.menu.set_menubar --- @see _M.textadept.menu.set_contextmenu +-- @see textadept.menu.set_menubar +-- @see textadept.menu.set_contextmenu -- @class function -- @name menu local menu |