aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/key_commands.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/key_commands.lua')
-rw-r--r--modules/textadept/key_commands.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/textadept/key_commands.lua b/modules/textadept/key_commands.lua
index 7493a6ec..2072795f 100644
--- a/modules/textadept/key_commands.lua
+++ b/modules/textadept/key_commands.lua
@@ -143,9 +143,9 @@ keys.ap = { 'goto_buffer', v, -1, false }
keys.can = { textadept.goto_view, 1, false }
keys.cap = { textadept.goto_view, -1, false }
-local m_handlers = textadept.handlers
-keys.cab = { m_handlers.handle, 'call_tip_click', 1 }
-keys.caf = { m_handlers.handle, 'call_tip_click', 2 }
+local m_events = textadept.events
+keys.cab = { m_events.handle, 'call_tip_click', 1 }
+keys.caf = { m_events.handle, 'call_tip_click', 2 }
keys.cs = { textadept.find.focus }
keys['c\t'] = { textadept.pm.focus }
@@ -180,7 +180,7 @@ local function toggle_setting(setting)
elseif type(state) == 'number' then
buffer[setting] = buffer[setting] == 0 and 1 or 0
end
- textadept.handlers.update_ui() -- for updating statusbar
+ textadept.events.update_ui() -- for updating statusbar
end
keys.ct.v = {} -- view chain