aboutsummaryrefslogtreecommitdiff
path: root/text-motions.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-07-19 13:55:50 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-07-19 13:55:50 +0200
commit8129933ca51caf788e0cd7c5fdbcb43fdc64601d (patch)
tree3cb1c6bdce4ff9d0eeff94b9b3716d628f9b5687 /text-motions.h
parent0d6dbfe292c61b935edd3e367c9032b27c850efc (diff)
downloadvis-8129933ca51caf788e0cd7c5fdbcb43fdc64601d.tar.gz
vis-8129933ca51caf788e0cd7c5fdbcb43fdc64601d.tar.xz
text: move regex related functions to separate file
Eventually this should probably be rewritten to use an iternal regex engine, currently it has unacceptable memory usage, it copies the whole text.
Diffstat (limited to 'text-motions.h')
-rw-r--r--text-motions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/text-motions.h b/text-motions.h
index 0f99076..3c7c9c5 100644
--- a/text-motions.h
+++ b/text-motions.h
@@ -7,6 +7,7 @@
#include <stddef.h>
#include "text.h"
+#include "text-regex.h"
size_t text_begin(Text*, size_t pos);
size_t text_end(Text*, size_t pos);