aboutsummaryrefslogtreecommitdiff
path: root/text-motions.h
diff options
context:
space:
mode:
Diffstat (limited to 'text-motions.h')
-rw-r--r--text-motions.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/text-motions.h b/text-motions.h
index e549402..dc9b66a 100644
--- a/text-motions.h
+++ b/text-motions.h
@@ -24,9 +24,10 @@ size_t text_find_char_prev(Text*, size_t pos, const char *s, size_t len);
/* begin finish next
* v v v
* \n[\r] I am a line! \n[\r]
- * ^ ^
- * start end
+ * ^ ^ ^
+ * prev start end
*/
+size_t text_line_prev(Text*, size_t pos);
size_t text_line_begin(Text*, size_t pos);
size_t text_line_start(Text*, size_t pos);
size_t text_line_finish(Text*, size_t pos);