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 /text.h | |
| parent | 403ee5284a70f778b379041c169f72a7586c59ee (diff) | |
| download | vis-e7b6ac1574ba4dad280e6a45beb52dac4e3ea2e9.tar.gz vis-e7b6ac1574ba4dad280e6a45beb52dac4e3ea2e9.tar.xz | |
Hook up search as a movement
Diffstat (limited to 'text.h')
| -rw-r--r-- | text.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -72,8 +72,8 @@ typedef struct { Regex *text_regex_new(void); int text_regex_compile(Regex *r, const char *regex, int cflags); void text_regex_free(Regex *r); -int text_search_forward(Text*, size_t pos, size_t len, Regex *r, size_t nmatch, RegexMatch pmatch[], int eflags); -int text_search_backward(Text*, size_t pos, size_t len, Regex *r, size_t nmatch, RegexMatch pmatch[], int eflags); +int text_search_range_forward(Text*, size_t pos, size_t len, Regex *r, size_t nmatch, RegexMatch pmatch[], int eflags); +int text_search_range_backward(Text*, size_t pos, size_t len, Regex *r, size_t nmatch, RegexMatch pmatch[], int eflags); // TMP void text_debug(Text*); |
