aboutsummaryrefslogtreecommitdiff
path: root/text-objects.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-27 17:12:40 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-27 17:12:40 +0200
commitc034be42821637990ac1d4c0f0329be0e98f70b1 (patch)
tree7020cc40b6d03954b271c3deb129a4e60869c4ae /text-objects.h
parentaa4823e78092ac3c18201089b4c2eedb9cd6bfe6 (diff)
downloadvis-c034be42821637990ac1d4c0f0329be0e98f70b1.tar.gz
vis-c034be42821637990ac1d4c0f0329be0e98f70b1.tar.xz
Add text objects for word (lowercase) variant
Diffstat (limited to 'text-objects.h')
-rw-r--r--text-objects.h5
1 files changed, 2 insertions, 3 deletions
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);