From bf028388163f3c5e8fd235ccd5d81efa16d1eb22 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 15 Apr 2015 00:34:00 +0100 Subject: Remove is_blank, which is identical to is_horizontal_blank --- src/input_handler.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/input_handler.cc') diff --git a/src/input_handler.cc b/src/input_handler.cc index b5f9e817..8b672288 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -266,7 +266,7 @@ void to_next_word_begin(CharCount& pos, StringView line) while (pos != len and is_word(line[pos])) ++pos; } - while (pos != len and is_blank(line[pos])) + while (pos != len and is_horizontal_blank(line[pos])) ++pos; } @@ -278,7 +278,7 @@ void to_next_word_end(CharCount& pos, StringView line) return; ++pos; - while (pos != len and is_blank(line[pos])) + while (pos != len and is_horizontal_blank(line[pos])) ++pos; if (word_type == Word and is_punctuation(line[pos])) @@ -301,7 +301,7 @@ void to_prev_word_begin(CharCount& pos, StringView line) return; --pos; - while (pos != 0_char and is_blank(line[pos])) + while (pos != 0_char and is_horizontal_blank(line[pos])) --pos; if (word_type == Word and is_punctuation(line[pos])) -- cgit v1.2.3