From 53631f9229b235f4fe203845a14d257105e070f6 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Tue, 10 Nov 2020 11:10:12 -0500 Subject: Added argument to `events.FIND_RESULT_FOUND`. This fixes a bug introduced by r3029 when invoking search via a macro. --- modules/lua/ta_api | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/lua') diff --git a/modules/lua/ta_api b/modules/lua/ta_api index 1d2318b8..41e6a570 100644 --- a/modules/lua/ta_api +++ b/modules/lua/ta_api @@ -71,7 +71,7 @@ FILE_OPENED events.FILE_OPENED (string)\nEmitted after opening a file in a new b FIND events.FIND (string)\nEmitted to find text via the Find & Replace Pane.\nArguments:\n\n* _`text`_: The text to search for.\n* _`next`_: Whether or not to search forward. FIND_MATCHCASE buffer.FIND_MATCHCASE (number, Read-only)\n FIND_REGEXP buffer.FIND_REGEXP (number, Read-only)\n -FIND_RESULT_FOUND events.FIND_RESULT_FOUND (string)\nEmitted when a result is found. It is selected and has been scrolled into\nview. +FIND_RESULT_FOUND events.FIND_RESULT_FOUND (string)\nEmitted when a result is found. It is selected and has been scrolled into\nview.\nArguments:\n\n* _`find_text`_: The text originally searched for. FIND_TEXT_CHANGED events.FIND_TEXT_CHANGED (string)\nEmitted when the text in the "Find" field of the Find & Replace Pane\nchanges.\n`ui.find.find_entry_text` contains the current text. FIND_WHOLEWORD buffer.FIND_WHOLEWORD (number, Read-only)\n FIND_WORDSTART buffer.FIND_WORDSTART (number, Read-only)\n -- cgit v1.2.3