diff options
author | 2011-09-27 17:09:11 -0400 | |
---|---|---|
committer | 2011-09-27 17:09:11 -0400 | |
commit | 43e9f2528415e8f2d43e7ba65f0d4c5b5d5adff4 (patch) | |
tree | b1a32f1bcac7307dd246e96c6eb9556e65bee51d /core | |
parent | 090f29d18cc445a067a359febeacad0776e0dc82 (diff) | |
download | textadept-43e9f2528415e8f2d43e7ba65f0d4c5b5d5adff4.tar.gz textadept-43e9f2528415e8f2d43e7ba65f0d4c5b5d5adff4.zip |
Added language-specific context menu support.
Diffstat (limited to 'core')
-rwxr-xr-x | core/._m.luadoc | 13 |
1 files changed, 13 insertions, 0 deletions
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 |