diff options
-rw-r--r-- | core/.find.lua | 8 | ||||
-rw-r--r-- | core/ext/find.lua | 5 |
2 files changed, 8 insertions, 5 deletions
diff --git a/core/.find.lua b/core/.find.lua index 40829cb1..a773f603 100644 --- a/core/.find.lua +++ b/core/.find.lua @@ -72,4 +72,10 @@ function replace_all() end -- Goes to the next or previous file found relative to the file -- on the current line. -- @param next Flag indicating whether or not to go to the next file. -function find.goto_file_in_list(next) end +function goto_file_in_list(next) end + +--- +-- Begins an incremental find using the Lua command entry. +-- Lua command functionality will be unavailable until the search is finished +-- (pressing 'Escape' by default). +function incremental() end diff --git a/core/ext/find.lua b/core/ext/find.lua index de59c576..daa64288 100644 --- a/core/ext/find.lua +++ b/core/ext/find.lua @@ -164,10 +164,7 @@ local function find_incremental(text) find_(text, true, flags) end ---- --- Begins an incremental find using the Lua command entry. --- Lua command functionality will be unavailable until the search is finished --- (pressing 'Escape' by default). +-- LuaDoc is in core/.find.lua. function find.find_incremental() find.incremental = true find.incremental_start = buffer.current_pos |