aboutsummaryrefslogtreecommitdiff
path: root/text-motions.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-08-30 08:54:53 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-08-30 08:54:53 +0200
commit5f113ae207e955d08b660f7433c09b4526429026 (patch)
tree11731ffba28690b2de6896eacce5dddc94a3b11e /text-motions.h
parentbb7e9122c85d9f486d9be5e62ba3c144662a390b (diff)
downloadvis-5f113ae207e955d08b660f7433c09b4526429026.tar.gz
vis-5f113ae207e955d08b660f7433c09b4526429026.tar.xz
Add trivial text motions to start and end of file
Diffstat (limited to 'text-motions.h')
-rw-r--r--text-motions.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/text-motions.h b/text-motions.h
index 335adaf..597d4bc 100644
--- a/text-motions.h
+++ b/text-motions.h
@@ -4,6 +4,9 @@
#include <stddef.h>
#include "text.h"
+size_t text_begin(Text*, size_t pos);
+size_t text_end(Text*, size_t pos);
+
size_t text_char_next(Text*, size_t pos);
size_t text_char_prev(Text*, size_t pos);