aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2020-07-03 08:15:46 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2020-07-03 08:15:46 -0400
commit985cb75a865b3fbcb6d1f095091589275bccab02 (patch)
tree1871d41bdbc3ce2aa7e4fc575d5e9498b98f6dbf
parent6def33c0123fe26443a4a68dec04616a4b48f278 (diff)
downloadtextadept-985cb75a865b3fbcb6d1f095091589275bccab02.tar.gz
textadept-985cb75a865b3fbcb6d1f095091589275bccab02.zip
Updated LuaDoc noting that `view.MOD_*` is different on Mac.
-rw-r--r--core/events.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/events.lua b/core/events.lua
index 2def3686..bdef3cc9 100644
--- a/core/events.lua
+++ b/core/events.lua
@@ -91,6 +91,8 @@ local M = {}
-- * _`line`_: The line number of the position double-clicked.
-- * _`modifiers`_: A bit-mask of any modifier keys used: `view.MOD_CTRL`,
-- `view.MOD_SHIFT`, `view.MOD_ALT`, and `view.MOD_META`.
+-- On Mac OSX, 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.
@@ -140,6 +142,8 @@ local M = {}
-- * _`position`_: The clicked text's position.
-- * _`modifiers`_: A bit-mask of any modifier keys used: `view.MOD_CTRL`,
-- `view.MOD_SHIFT`, `view.MOD_ALT`, and `view.MOD_META`.
+-- On Mac OSX, 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.
@@ -170,6 +174,8 @@ local M = {}
-- * _`position`_: The beginning position of the clicked margin's line.
-- * _`modifiers`_: A bit-mask of any modifier keys used: `view.MOD_CTRL`,
-- `view.MOD_SHIFT`, `view.MOD_ALT`, and `view.MOD_META`.
+-- On Mac OSX, 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.