From 43e9f2528415e8f2d43e7ba65f0d4c5b5d5adff4 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 27 Sep 2011 17:09:11 -0400 Subject: Added language-specific context menu support. --- core/._m.luadoc | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'core') diff --git a/core/._m.luadoc b/core/._m.luadoc index 8eb1e784..0a6839d3 100755 --- a/core/._m.luadoc +++ b/core/._m.luadoc @@ -71,6 +71,19 @@ module('_m') -- buffer.indent = 2 -- end -- +-- #### Context Menu (Optional) +-- +-- Language-specific context menus, accessible by right-clicking inside the +-- view, can be defined as: +-- +-- context_menu = { +-- { 'label1', action1 }, +-- { 'label2', action2 }, +-- ... +-- } +-- +-- See `modules/textadept/menu.lua` for examples on how to define menus. +-- -- ## Modules and Key Commands -- -- When assigning [key commands](../modules/_m.textadept.keys.html) to module -- cgit v1.2.3