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-motions.h | |
| parent | 403ee5284a70f778b379041c169f72a7586c59ee (diff) | |
| download | vis-e7b6ac1574ba4dad280e6a45beb52dac4e3ea2e9.tar.gz vis-e7b6ac1574ba4dad280e6a45beb52dac4e3ea2e9.tar.xz | |
Hook up search as a movement
Diffstat (limited to 'text-motions.h')
| -rw-r--r-- | text-motions.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/text-motions.h b/text-motions.h index aa87170..b99815d 100644 --- a/text-motions.h +++ b/text-motions.h @@ -65,4 +65,7 @@ size_t text_section_prev(Text*, size_t pos); /* search coresponding '(', ')', '{', '}', '[', ']', '>', '<', '"', ''' */ size_t text_bracket_match(Text*, size_t pos); +size_t text_search_forward(Text *txt, size_t pos, Regex *regex); +size_t text_search_backward(Text *txt, size_t pos, Regex *regex); + #endif |
