aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/menu.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-04-11 23:58:33 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2013-04-11 23:58:33 -0400
commita65f9ac0c460fba64b2d8ddde2149661c025ea65 (patch)
tree9f1d3e7b73756b264974d0be272a722fc92e483e /modules/textadept/menu.lua
parent2a54e9fcfd955b8cf63fa42f41292d1176026721 (diff)
downloadtextadept-a65f9ac0c460fba64b2d8ddde2149661c025ea65.tar.gz
textadept-a65f9ac0c460fba64b2d8ddde2149661c025ea65.zip
Added key modes and changed the command entry to use them.
Removed obsoleted `events.COMMAND_ENTRY_COMMAND`.
Diffstat (limited to 'modules/textadept/menu.lua')
-rw-r--r--modules/textadept/menu.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua
index f4784b5d..583b3f46 100644
--- a/modules/textadept/menu.lua
+++ b/modules/textadept/menu.lua
@@ -119,12 +119,12 @@ M.menubar = {
{_L['_Jump to'], m_editing.goto_line},
},
{ title = _L['_Tools'],
- {_L['Command _Entry'], gui.command_entry.focus},
+ {_L['Command _Entry'], {gui.command_entry.enter_mode, 'lua_command'}},
{_L['Select Co_mmand'], utils.select_command},
SEPARATOR,
{_L['_Run'], m_textadept.run.run},
{_L['_Compile'], m_textadept.run.compile},
- {_L['_Filter Through'], _M.textadept.filter_through.filter_through},
+ {_L['_Filter Through'], {gui.command_entry.enter_mode, 'filter_through'}},
SEPARATOR,
{ title = _L['_Adeptsense'],
{_L['_Complete Symbol'], m_textadept.adeptsense.complete},