aboutsummaryrefslogtreecommitdiff
path: root/core/events.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2019-11-13 20:54:52 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2019-11-13 20:54:52 -0500
commit51d40f28fcffc683919f8ff6e376d4820eef2cbf (patch)
treeefcec235bb913e510eeb491c48b1765dc0368052 /core/events.lua
parentee9e8700ae84aa246ec01422aef83b673b5b1cf7 (diff)
downloadtextadept-51d40f28fcffc683919f8ff6e376d4820eef2cbf.tar.gz
textadept-51d40f28fcffc683919f8ff6e376d4820eef2cbf.zip
Make new arguments to `events.TAB_CLICKED` backwards-compatible.
Diffstat (limited to 'core/events.lua')
-rw-r--r--core/events.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/events.lua b/core/events.lua
index 768f41e0..d83c7803 100644
--- a/core/events.lua
+++ b/core/events.lua
@@ -246,10 +246,10 @@ local M = {}
-- Note that Textadept always displays a context menu on right-click.
-- Arguments:
--
+-- * _`index`_: The numeric index of the clicked tab.
-- * _`button`_: The mouse button number that was clicked, either `1` (left
-- button), `2` (middle button), `3` (right button), `4` (wheel up), or `5`
-- (wheel down).
--- * _`index`_: The numeric index of the clicked tab.
-- * _`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.