summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-04-15 00:34:00 +0100
committerMaxime Coste <frrrwww@gmail.com>2015-04-15 00:34:00 +0100
commitbf028388163f3c5e8fd235ccd5d81efa16d1eb22 (patch)
tree870dbbbc0bbc669fc12117f516167ad5ea0f6116 /src/input_handler.cc
parent63bbb6e3dfdbbcd2ce52cec5b4b08795c0b5d008 (diff)
Remove is_blank, which is identical to is_horizontal_blank
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc6
1 files changed, 3 insertions, 3 deletions
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<word_type>(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]))