diff options
author | 2007-08-10 23:59:17 -0400 | |
---|---|---|
committer | 2007-08-10 23:59:17 -0400 | |
commit | 180bad5d0b91766b26564c2ae89d91d4330bef5f (patch) | |
tree | 62a4e5ab89c5e0773020b87e376d9327a4115cae /core/ext/pm/buffer_browser.lua | |
parent | 6804993bd99c7aebf18a9f824405fadca8250c62 (diff) | |
download | textadept-180bad5d0b91766b26564c2ae89d91d4330bef5f.tar.gz textadept-180bad5d0b91766b26564c2ae89d91d4330bef5f.zip |
Renamed textadept.handlers' add_function_to_handler to add_handler_function.
Diffstat (limited to 'core/ext/pm/buffer_browser.lua')
-rw-r--r-- | core/ext/pm/buffer_browser.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/ext/pm/buffer_browser.lua b/core/ext/pm/buffer_browser.lua index 56891fa9..1c2fb33c 100644 --- a/core/ext/pm/buffer_browser.lua +++ b/core/ext/pm/buffer_browser.lua @@ -46,12 +46,12 @@ function perform_menu_action(menu_item, selected_item) textadept.pm.activate() end -local add_function_to_handler = textadept.handlers.add_function_to_handler +local add_handler_function = textadept.handlers.add_handler_function local function update_view() if matches(textadept.pm.entry_text) then textadept.pm.activate() end end -add_function_to_handler('file_opened', update_view) -add_function_to_handler('buffer_new', update_view) -add_function_to_handler('buffer_deleted', update_view) -add_function_to_handler('save_point_reached', update_view) -add_function_to_handler('save_point_left', update_view) +add_handler_function('file_opened', update_view) +add_handler_function('buffer_new', update_view) +add_handler_function('buffer_deleted', update_view) +add_handler_function('save_point_reached', update_view) +add_handler_function('save_point_left', update_view) |