aboutsummaryrefslogtreecommitdiff
path: root/core/events.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2011-07-07 22:42:39 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2011-07-07 22:42:39 -0400
commit6670c0513866b42a44bf5fdf494d8509908ff45b (patch)
treec3e083e6d79d3aa8c6c2729af50e40086a197421 /core/events.lua
parentbd4227bd775cfd3a0aa6ba565c079187e8ccbda0 (diff)
downloadtextadept-6670c0513866b42a44bf5fdf494d8509908ff45b.tar.gz
textadept-6670c0513866b42a44bf5fdf494d8509908ff45b.zip
Detect Alt/Option modifier on Mac OSX.
Diffstat (limited to 'core/events.lua')
-rw-r--r--core/events.lua2
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