aboutsummaryrefslogtreecommitdiff
path: root/text-objects.h
diff options
context:
space:
mode:
Diffstat (limited to 'text-objects.h')
-rw-r--r--text-objects.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/text-objects.h b/text-objects.h
index 068bafa..fb35d13 100644
--- a/text-objects.h
+++ b/text-objects.h
@@ -9,6 +9,10 @@
#include <stddef.h>
#include "text.h"
+/* return range covering the entire text */
+Filerange text_object_entire(Text*, size_t pos);
+/* entire document except leading and trailing empty lines */
+Filerange text_object_entire_inner(Text*, size_t pos);
/* word which happens to be at pos without any neighbouring white spaces */
Filerange text_object_word(Text*, size_t pos);
/* includes trailing white spaces. if at pos happens to be a white space