diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/events.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/events.lua b/core/events.lua index 7a1ed360..c708af62 100644 --- a/core/events.lua +++ b/core/events.lua @@ -55,6 +55,9 @@ module('textadept.events', package.seeall) -- view_new() -- view_switch() -- quit() +-- Note: when adding a quit handler, it must be inserted at index 1 because +-- the default quit handler returns true, which ignores all subsequent +-- handlers. -- keypress(code, shift, control, alt) -- code: the key code. -- shift: flag indicating whether or not shift is pressed. |