aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/menu.lua
diff options
context:
space:
mode:
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},