aboutsummaryrefslogtreecommitdiff
path: root/core/events.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2015-01-20 12:18:12 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2015-01-20 12:18:12 -0500
commit8d90786388b590eed0ce3aa22fa86ed26c6d59bb (patch)
treef0c967c09f828bc72ce427bc38983d037c7dd6f3 /core/events.lua
parentd87cf472e2771870e616c3b567a0b7949d302f66 (diff)
downloadtextadept-8d90786388b590eed0ce3aa22fa86ed26c6d59bb.tar.gz
textadept-8d90786388b590eed0ce3aa22fa86ed26c6d59bb.zip
Updated to Scintilla 3.5.3.
Diffstat (limited to 'core/events.lua')
-rw-r--r--core/events.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/events.lua b/core/events.lua
index 6dedc879..cf9f637b 100644
--- a/core/events.lua
+++ b/core/events.lua
@@ -123,6 +123,8 @@ local M = {}
-- @field HOTSPOT_CLICK (string)
-- Emitted when clicking on text that is in a style that has the hotspot
-- attribute set.
+-- Event handlers should avoid calling any function that modifies the current
+-- selection or caret position.
-- Arguments:
--
-- * _`position`_: The clicked text's position.
@@ -134,6 +136,8 @@ local M = {}
-- @field HOTSPOT_DOUBLE_CLICK (string)
-- Emitted when double-clicking on text that is in a style that has the
-- hotspot attribute set.
+-- Event handlers should avoid calling any function that modifies the current
+-- selection or caret position.
-- Arguments:
--
-- * _`position`_: The double-clicked text's position.
@@ -145,6 +149,8 @@ local M = {}
-- @field HOTSPOT_RELEASE_CLICK (string)
-- Emitted when releasing the mouse after clicking on text that is in a style
-- that has the hotspot attribute set.
+-- Event handlers should avoid calling any function that modifies the current
+-- selection or caret position.
-- Arguments:
--
-- * _`position`_: The clicked text's position.