From 8ecc8aa21bf61063a8e2d0ef29a78d4a62616d29 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Wed, 13 Jul 2011 20:51:17 -0400 Subject: Refactored key commands and added menu accelerators. Key commands are now in keys.conf and keys.osx.conf which are loaded by the _m.textadept.menu module. --- core/events.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'core/events.lua') diff --git a/core/events.lua b/core/events.lua index cea75a71..89092dfe 100644 --- a/core/events.lua +++ b/core/events.lua @@ -64,9 +64,9 @@ module('events', package.seeall) -- Entry.
-- * `code`: The key code. -- * `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. +-- * `ctrl`: The Control/Command key is held down. +-- * `alt`: The Alt/option key is held down. +-- * `meta`: The Control 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. @@ -113,9 +113,9 @@ module('events', package.seeall) -- * `KEYPRESS`: Called when a key is pressed.
-- * `code`: The key code. -- * `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. +-- * `ctrl`: The Control/Command key is held down. +-- * `alt`: The Alt/option key is held down. +-- * `meta`: The Control 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