aboutsummaryrefslogtreecommitdiff
path: root/text-motions.c
diff options
context:
space:
mode:
Diffstat (limited to 'text-motions.c')
-rw-r--r--text-motions.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/text-motions.c b/text-motions.c
index 2b9cf8c..f499d92 100644
--- a/text-motions.c
+++ b/text-motions.c
@@ -5,6 +5,14 @@
// TODO: consistent usage of iterators either char or byte based where appropriate.
+size_t text_begin(Text *txt, size_t pos) {
+ return 0;
+}
+
+size_t text_end(Text *txt, size_t pos) {
+ return text_size(txt);
+}
+
size_t text_char_next(Text *txt, size_t pos) {
Iterator it = text_iterator_get(txt, pos);
text_iterator_char_next(&it, NULL);