diff options
author | 2018-02-24 21:13:25 -0500 | |
---|---|---|
committer | 2018-02-24 21:13:25 -0500 | |
commit | 4a98efb0bc5dad80ec274293581ac55119a10669 (patch) | |
tree | a119c0ec3a7fee2fa24d92411017a2dda0fb98e7 | |
parent | 9141f0d9703447bbee1026f9d4b55a86b93d69b7 (diff) | |
download | textadept-4a98efb0bc5dad80ec274293581ac55119a10669.tar.gz textadept-4a98efb0bc5dad80ec274293581ac55119a10669.zip |
Updated LuaDoc.
-rw-r--r-- | core/events.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/events.lua b/core/events.lua index 435b3001..f758a3a0 100644 --- a/core/events.lua +++ b/core/events.lua @@ -173,6 +173,10 @@ local M = {} -- [`ui.menu()`](). -- @field MOUSE (string) -- Emitted by the terminal version for an unhandled mouse event. +-- A handler should return `true` if it handled the event. Otherwise Textadept +-- will try again. (This side effect for a `false` or `nil` return is useful +-- for sending the original mouse event to a different view that a handler +-- has switched to.) -- Arguments: -- -- * _`event`_: The mouse event: `buffer.MOUSE_PRESS`, `buffer.MOUSE_DRAG`, or |