From 6611ae9268b509d56ff76759eb6ad16367140afc Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Sun, 30 May 2021 00:20:02 -0400 Subject: Updated LuaDoc. --- core/events.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'core') 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) -- cgit v1.2.3