diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-09-08 17:27:25 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-09-08 17:27:25 +0200 |
| commit | e7b6ac1574ba4dad280e6a45beb52dac4e3ea2e9 (patch) | |
| tree | c77ced81181dcb972afc2b52e7425ddc29228319 /vis.h | |
| parent | 403ee5284a70f778b379041c169f72a7586c59ee (diff) | |
| download | vis-e7b6ac1574ba4dad280e6a45beb52dac4e3ea2e9.tar.gz vis-e7b6ac1574ba4dad280e6a45beb52dac4e3ea2e9.tar.xz | |
Hook up search as a movement
Diffstat (limited to 'vis.h')
| -rw-r--r-- | vis.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -56,6 +56,7 @@ struct Vis { Syntax *syntaxes; /* NULL terminated array of syntax definitions */ Register registers[REG_LAST]; Prompt *prompt; + Regex *search_pattern; void (*windows_arrange)(Vis*); /* current layout which places the windows */ vis_statusbar_t statusbar; /* configurable user hook to draw statusbar */ }; @@ -103,15 +104,12 @@ void vis_delete(Vis*, size_t pos, size_t len); bool vis_syntax_load(Vis*, Syntax *syntaxes, Color *colors); void vis_syntax_unload(Vis*); -void vis_search(Vis*, const char *regex, int direction); - bool vis_window_new(Vis*, const char *filename); void vis_window_split(Vis*, const char *filename); void vis_window_vsplit(Vis*, const char *filename); void vis_window_next(Vis*); void vis_window_prev(Vis*); - char *vis_prompt_get(Vis *vis); void vis_prompt_set(Vis *vis, const char *line); void vis_prompt_show(Vis *vis, const char *title); |
