aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/api.md
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+orbitalquark@users.noreply.github.com>2020-11-16 19:48:46 -0500
committerGravatar mitchell <70453897+orbitalquark@users.noreply.github.com>2020-11-16 19:48:46 -0500
commit4d661eb109e242db21deb2667b60b3a3f48c2fc7 (patch)
treea1a5b061880c73bee6bdf6d672b4bfe73f3d570f /docs/api.md
parentb421b229cf3c5f23f297ca9195e84b616a27b4ad (diff)
Added `events.UNFOCUS` for when Textadept loses focus.
Do not emit this event when a dialog is active.
Diffstat (limited to 'docs/api.md')
-rw-r--r--docs/api.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/api.md b/docs/api.md
index a0110eb5..f56dd0f5 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -4158,6 +4158,12 @@ Emitted when the user clicks on a buffer tab.
* _`alt`_: The "Alt"/"Option" modifier key is held down.
* _`cmd`_: The "Command" modifier key on macOS is held down.
+<a id="events.UNFOCUS"></a>
+#### `events.UNFOCUS` (string)
+
+Emitted when Textadept loses focus.
+ This event is never emitted when Textadept is running in the terminal.
+
<a id="events.UPDATE_UI"></a>
#### `events.UPDATE_UI` (string)