From e7b6ac1574ba4dad280e6a45beb52dac4e3ea2e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 8 Sep 2014 17:27:25 +0200 Subject: Hook up search as a movement --- vis.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'vis.h') diff --git a/vis.h b/vis.h index b35208e..3fc9dad 100644 --- a/vis.h +++ b/vis.h @@ -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); -- cgit v1.2.3