aboutsummaryrefslogtreecommitdiff
path: root/core/events.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2011-07-13 20:51:17 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2011-07-13 20:51:17 -0400
commit8ecc8aa21bf61063a8e2d0ef29a78d4a62616d29 (patch)
treeffe7a2317ddb80c558f28039a3120c8a3876afaa /core/events.lua
parent57101e2742f9385602c367fc054363c1e52e33a2 (diff)
downloadtextadept-8ecc8aa21bf61063a8e2d0ef29a78d4a62616d29.tar.gz
textadept-8ecc8aa21bf61063a8e2d0ef29a78d4a62616d29.zip
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.
Diffstat (limited to 'core/events.lua')
-rw-r--r--core/events.lua12
1 files changed, 6 insertions, 6 deletions
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.<br />
-- * `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.<br />
-- * `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.<br />
-- * `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.<br />
-- * `margin`: The margin number that was clicked.
-- * `position`: The position of the start of the line in the buffer that