aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/events.lua
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2020-08-17 17:56:52 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2020-08-17 17:56:52 -0400
commitb3cbff3e4e80aac25f922d7fec4e198c6dde95b3 (patch)
tree603046d1d885a29b1fd3cba1c8a47eca220710e2 /core/events.lua
parentf7855153d938c99d506ad363e889031e1e9420a3 (diff)
Updated some documentation and use macOS instead of Mac OSX.
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 322ae9d3..1befd35a 100644
--- a/core/events.lua
+++ b/core/events.lua
@@ -27,7 +27,7 @@ local M = {}
-- handled it, or if you want to use the event framework to pass values.
--
-- @field APPLEEVENT_ODOC (string)
--- Emitted when Mac OSX tells Textadept to open a file.
+-- Emitted when macOS tells Textadept to open a file.
-- Arguments:
--
-- * _`uri`_: The UTF-8-encoded URI to open.
@@ -94,7 +94,7 @@ 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
+-- 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"
@@ -149,7 +149,7 @@ 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
+-- 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"
@@ -171,7 +171,7 @@ local M = {}
-- * _`shift`_: The "Shift" modifier key is held down.
-- * _`ctrl`_: The "Control" modifier key is held down.
-- * _`alt`_: The "Alt"/"Option" modifier key is held down.
--- * _`cmd`_: The "Command" modifier key on Mac OSX is held down.
+-- * _`cmd`_: The "Command" modifier key on macOS is held down.
-- * _`caps_lock`_: The "Caps Lock" modifier is on.
-- @field MARGIN_CLICK (string)
-- Emitted when clicking the mouse inside a sensitive margin.
@@ -181,7 +181,7 @@ 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
+-- 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"
@@ -266,7 +266,7 @@ local M = {}
-- * _`shift`_: The "Shift" modifier key is held down.
-- * _`ctrl`_: The "Control" modifier key is held down.
-- * _`alt`_: The "Alt"/"Option" modifier key is held down.
--- * _`cmd`_: The "Command" modifier key on Mac OSX is held down.
+-- * _`cmd`_: The "Command" modifier key on macOS is held down.
-- @field UPDATE_UI (string)
-- Emitted after the view is visually updated.
-- Arguments: