diff options
| author | Albert Cervin <albert@acervin.com> | 2023-06-14 00:03:47 +0200 |
|---|---|---|
| committer | Albert Cervin <albert@acervin.com> | 2023-07-11 21:26:49 +0200 |
| commit | 3a8ae83aa13636679c151027cace905fa87ebd8e (patch) | |
| tree | 4a68bfb1e32dc1d6dbd4c8779312f0f32fcba926 /src/main/search-replace.h | |
| parent | bc5696e5bbd4739691f53563f3506b30b9be1ad3 (diff) | |
| download | dged-3a8ae83aa13636679c151027cace905fa87ebd8e.tar.gz dged-3a8ae83aa13636679c151027cace905fa87ebd8e.tar.xz dged-3a8ae83aa13636679c151027cace905fa87ebd8e.zip | |
Implement replace + autocomplete
Autocomplete is currently a POC and works only with find-file.
Diffstat (limited to 'src/main/search-replace.h')
| -rw-r--r-- | src/main/search-replace.h | 14 |
1 files changed, 14 insertions, 0 deletions
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); |
