From 8ea898e863c8c62fc0230d1c76d58bc477a16d14 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sat, 14 Feb 2009 15:14:37 -0500 Subject: Added textadept.context_menu field for a custom popup context menu. --- core/.textadept.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/.textadept.lua') diff --git a/core/.textadept.lua b/core/.textadept.lua index 3a0442fa..d46f6331 100644 --- a/core/.textadept.lua +++ b/core/.textadept.lua @@ -15,6 +15,7 @@ module('textadept') -- @field focused_doc_pointer The pointer to the document associated with the -- buffer of the currently focused view. (Used internally; read-only) -- @field menubar A table of GTK menus defining a menubar (write-only). +-- @field context_menu A GTK menu defining the editor's context menu. -- @field clipboard_text The text on the clipboard (read-only). -- @field statusbar_text The text displayed by the statusbar (write-only). -- @field docstatusbar_text The text displayed by the doc statusbar @@ -22,7 +23,7 @@ module('textadept') -- @field size The size of the Textadept window ({ width, height}). textadept = { title = nil, focused_doc_pointer = nil, clipboard_text = nil, menubar = nil, - statusbar_text = nil, docstatusbar_text = nil, size = nil + context_menu = nil, statusbar_text = nil, docstatusbar_text = nil, size = nil } --- -- cgit v1.2.3