From 6670c0513866b42a44bf5fdf494d8509908ff45b Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 7 Jul 2011 22:42:39 -0400 Subject: Detect Alt/Option modifier on Mac OSX. --- core/events.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/events.lua') 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.
-- * `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.
-- * `margin`: The margin number that was clicked. -- * `position`: The position of the start of the line in the buffer that -- cgit v1.2.3