From 4ac940a813d54ff401db80c7c6f1ba80bfbe7802 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sat, 8 Nov 2008 23:40:50 -0500 Subject: Added Lua interface functions to mimick find box button presses. --- core/.find.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'core/.find.lua') diff --git a/core/.find.lua b/core/.find.lua index c6eabed1..043979cb 100644 --- a/core/.find.lua +++ b/core/.find.lua @@ -64,3 +64,19 @@ function find.replace(rtext) end -- @param flags The number mask identical to the one in 'find'. -- @see find.find function find.replace_all(ftext, rtext, flags) end + +--- +-- Mimicks a press of the 'Find Next' button in the Find box. +function find.call_find_next() end + +--- +-- Mimicks a press of the 'Find Prev' button in the Find box. +function find.call_find_prev() end + +--- +-- Mimicks a press of the 'Replace' button in the Find box. +function find.call_replace() end + +--- +-- Mimicks a press of the 'Replace All' button in the Find box. +function find.call_replace_all() end -- cgit v1.2.3