From 25beaeb21f3d0b2fcd9b6c612cd2d7cb25291a28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 1 Aug 2015 13:20:40 +0200 Subject: vis: support `ae` and `ie` text objects --- text-objects.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'text-objects.h') 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 #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 -- cgit v1.2.3