From 3a8ae83aa13636679c151027cace905fa87ebd8e Mon Sep 17 00:00:00 2001 From: Albert Cervin Date: Wed, 14 Jun 2023 00:03:47 +0200 Subject: Implement replace + autocomplete Autocomplete is currently a POC and works only with find-file. --- src/main/search-replace.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/main/search-replace.h (limited to 'src/main/search-replace.h') diff --git a/src/main/search-replace.h b/src/main/search-replace.h new file mode 100644 index 0000000..d0b2012 --- /dev/null +++ b/src/main/search-replace.h @@ -0,0 +1,14 @@ +struct commands; + +/** + * Abort a replace currently in progress. + */ +void abort_replace(); + +/** + * Register search and replace commands + * + * @param [in] commands Command registry to register search and + * replace commands in. + */ +void register_search_replace_commands(struct commands *commands); -- cgit v1.2.3