From c034be42821637990ac1d4c0f0329be0e98f70b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 27 Sep 2014 17:12:40 +0200 Subject: Add text objects for word (lowercase) variant --- text-objects.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'text-objects.h') diff --git a/text-objects.h b/text-objects.h index 2a37090..cb11f41 100644 --- a/text-objects.h +++ b/text-objects.h @@ -13,9 +13,8 @@ * happens to be a whitespace include all neighbouring leading whitespaces * and the following word. */ Filerange text_object_word(Text*, size_t pos); -/* word which happens to be at pos, _not_ including any white spaces. if pos - * is not part of a word, an empty range is returned */ -Filerange text_object_longword_raw(Text*, size_t pos); +/* same semantics as above but for a longword (i.e. delimited by whitespaces) */ +Filerange text_object_longword(Text*, size_t pos); Filerange text_object_line(Text*, size_t pos); Filerange text_object_sentence(Text*, size_t pos); Filerange text_object_paragraph(Text*, size_t pos); -- cgit v1.2.3