diff options
author | 2009-07-07 18:12:53 -0400 | |
---|---|---|
committer | 2009-07-07 18:12:53 -0400 | |
commit | 4b4fa715be9748929eeebbfc6fe35bd94ba76a31 (patch) | |
tree | cbee48f5ac2bcd7760fa1509f2a1a30a6ad5dfae /core/ext | |
parent | 4be899557a0700c7d4de6ff45632d943fb6cedd2 (diff) | |
download | textadept-4b4fa715be9748929eeebbfc6fe35bd94ba76a31.tar.gz textadept-4b4fa715be9748929eeebbfc6fe35bd94ba76a31.zip |
Compile and run commands can be user-redefinable through accessible tables.
Diffstat (limited to 'core/ext')
-rw-r--r-- | core/ext/key_commands.lua | 2 | ||||
-rw-r--r-- | core/ext/menu.lua | 2 |
2 files changed, 2 insertions, 2 deletions
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 }, |