aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/key_commands.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2007-08-15 16:36:19 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2007-08-15 16:36:19 -0400
commitcc8bc0b210d5716d970717e86216a6b059eecf05 (patch)
treece5674f4695da038208517f13920246bd9e9372d /modules/textadept/key_commands.lua
parentf332c1ccccc666e908eea56592b139ef685a99fd (diff)
downloadtextadept-cc8bc0b210d5716d970717e86216a6b059eecf05.tar.gz
textadept-cc8bc0b210d5716d970717e86216a6b059eecf05.zip
Renamed handlers module to events, updated everything to reflect changes.
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