Merge remote-tracking branch 'Delapouite/extend'

This commit is contained in:
Maxime Coste 2017-07-08 13:32:11 +09:00
commit ad1dad9d04

View File

@ -1269,8 +1269,9 @@ template<SelectFlags flags>
void select_to_next_char(Context& context, NormalParams params) void select_to_next_char(Context& context, NormalParams params)
{ {
auto get_title = [] { auto get_title = [] {
return format("{}select {} next char", return format("{}{} {} next char",
flags & SelectFlags::Reverse ? "reverse " : "", flags & SelectFlags::Reverse ? "reverse " : "",
flags & SelectFlags::Extend ? "extend" : "select",
flags & SelectFlags::Inclusive ? "onto" : "to"); flags & SelectFlags::Inclusive ? "onto" : "to");
}; };