From 4d661eb109e242db21deb2667b60b3a3f48c2fc7 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Mon, 16 Nov 2020 19:48:46 -0500 Subject: Added `events.UNFOCUS` for when Textadept loses focus. Do not emit this event when a dialog is active. --- docs/api.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/api.md') 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. + +#### `events.UNFOCUS` (string) + +Emitted when Textadept loses focus. + This event is never emitted when Textadept is running in the terminal. + #### `events.UPDATE_UI` (string) -- cgit v1.2.3