aboutsummaryrefslogtreecommitdiffhomepage
path: root/core
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+orbitalquark@users.noreply.github.com>2021-05-30 00:20:02 -0400
committerGravatar mitchell <70453897+orbitalquark@users.noreply.github.com>2021-05-30 00:20:02 -0400
commit6611ae9268b509d56ff76759eb6ad16367140afc (patch)
tree5688a21fc472a3ba0758b8708d7e9dc9aad49d14 /core
parent31c1f746622bf0c6415d640c5b060f0dd6ae481a (diff)
Updated LuaDoc.
Diffstat (limited to 'core')
-rw-r--r--core/events.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/events.lua b/core/events.lua
index d9b263d4..52b1dc37 100644
--- a/core/events.lua
+++ b/core/events.lua
@@ -159,6 +159,11 @@ local M = {}
-- Arguments:
--
-- * _`position`_: The clicked text's position.
+-- * _`modifiers`_: A bit-mask of any modifier keys held down: `view.MOD_CTRL`,
+-- `view.MOD_SHIFT`, `view.MOD_ALT`, and `view.MOD_META`. On macOS, the Command modifier
+-- key is reported as `view.MOD_CTRL` and Ctrl is `view.MOD_META`. Note: If you set
+-- `view.rectangular_selection_modifier` to `view.MOD_CTRL`, the "Control" modifier is
+-- reported as *both* "Control" and "Alt" due to a Scintilla limitation with GTK.
-- @field INITIALIZED (string)
-- Emitted after Textadept finishes initializing.
-- @field KEYPRESS (string)