aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/events.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/events.lua')
-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)