Refine info titles to distinguish f/t (select) and F/T (extend)

This commit is contained in:
Delapouite 2017-07-05 20:23:02 +02:00
parent 620e718087
commit b3f2a7e46e

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");
}; };