diff options
author | 2007-08-10 23:59:17 -0400 | |
---|---|---|
committer | 2007-08-10 23:59:17 -0400 | |
commit | 180bad5d0b91766b26564c2ae89d91d4330bef5f (patch) | |
tree | 62a4e5ab89c5e0773020b87e376d9327a4115cae /modules/textadept/keys.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 'modules/textadept/keys.lua')
-rw-r--r-- | modules/textadept/keys.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua index 77a5cef7..f7131782 100644 --- a/modules/textadept/keys.lua +++ b/modules/textadept/keys.lua @@ -127,7 +127,7 @@ function keypress(code, shift, control, alt) else return true end end end -textadept.handlers.add_function_to_handler('keypress', keypress, 1) +textadept.handlers.add_handler_function('keypress', keypress, 1) -- Note the following functions are called inside pcall so error handling or -- checking if keys exist etc. is not necessary. |