From 4b4fa715be9748929eeebbfc6fe35bd94ba76a31 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 7 Jul 2009 18:12:53 -0400 Subject: Compile and run commands can be user-redefinable through accessible tables. --- core/ext/key_commands.lua | 2 +- core/ext/menu.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'core/ext') diff --git a/core/ext/key_commands.lua b/core/ext/key_commands.lua index 9f449679..265b5080 100644 --- a/core/ext/key_commands.lua +++ b/core/ext/key_commands.lua @@ -292,7 +292,7 @@ else keys['f2'] = { t.command_entry.focus } -- Run local m_run = _m.textadept.run - keys.cr = { m_run.go } + keys.cr = { m_run.run } keys.csr = { m_run.compile } -- Snippets local m_snippets = _m.textadept.lsnippets diff --git a/core/ext/menu.lua b/core/ext/menu.lua index 37d1e7f4..3d5bc83c 100644 --- a/core/ext/menu.lua +++ b/core/ext/menu.lua @@ -403,7 +403,7 @@ local actions = { [ID.GOTO_LINE] = { m_editing.goto_line }, -- Tools [ID.FOCUS_COMMAND_ENTRY] = { t.command_entry.focus }, - [ID.RUN] = { m_run.go }, + [ID.RUN] = { m_run.run }, [ID.COMPILE] = { m_run.compile }, -- Tools -> Snippets [ID.INSERT_SNIPPET] = { m_snippets.insert }, -- cgit v1.2.3