diff options
author | 2011-07-07 22:42:39 -0400 | |
---|---|---|
committer | 2011-07-07 22:42:39 -0400 | |
commit | 6670c0513866b42a44bf5fdf494d8509908ff45b (patch) | |
tree | c3e083e6d79d3aa8c6c2729af50e40086a197421 /core/events.lua | |
parent | bd4227bd775cfd3a0aa6ba565c079187e8ccbda0 (diff) | |
download | textadept-6670c0513866b42a44bf5fdf494d8509908ff45b.tar.gz textadept-6670c0513866b42a44bf5fdf494d8509908ff45b.zip |
Detect Alt/Option modifier on Mac OSX.
Diffstat (limited to 'core/events.lua')
-rw-r--r-- | core/events.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/events.lua b/core/events.lua index 6b8ac99b..cea75a71 100644 --- a/core/events.lua +++ b/core/events.lua @@ -66,6 +66,7 @@ module('events', package.seeall) -- * `shift`: The Shift key is held down. -- * `ctrl`: The Control key is held down. -- * `alt`: The Alt/Apple key is held down. +-- * `option`: The Alt/Option key on Mac OSX is held down. -- * `DOUBLE_CLICK`: Called when the mouse button is double-clicked.<br /> -- * `position`: The text position of the double click. -- * `line`: The line of the double click. @@ -114,6 +115,7 @@ module('events', package.seeall) -- * `shift`: The Shift key is held down. -- * `ctrl`: The Control key is held down. -- * `alt`: The Alt/Apple key is held down. +-- * `option`: The Alt/Option key on Mac OSX is held down. -- * `MARGIN_CLICK`: Called when the mouse is clicked inside a margin.<br /> -- * `margin`: The margin number that was clicked. -- * `position`: The position of the start of the line in the buffer that |