From 511337a68cf7329e08397631c48199641441d086 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 23 Jul 2015 14:36:51 +0200 Subject: text-object: add text_range_linewise Takes a range and extends both ends to cover the remaining part of the line. --- text-objects.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'text-objects.h') diff --git a/text-objects.h b/text-objects.h index a4babb5..3e08a91 100644 --- a/text-objects.h +++ b/text-objects.h @@ -32,4 +32,7 @@ Filerange text_object_quote(Text*, size_t pos); Filerange text_object_single_quote(Text*, size_t pos); Filerange text_object_backtick(Text*, size_t pos); +/* extend a range to cover whole lines */ +Filerange text_range_linewise(Text*, Filerange*); + #endif -- cgit v1.2.3