Change custom text object desc trigger from ':' to 'c' - Fix #1362

This commit is contained in:
Delapouite 2017-06-14 19:41:30 +02:00
parent e73cd78288
commit 229848dece

View File

@ -1093,7 +1093,7 @@ void select_object(Context& context, NormalParams params)
return select_and_set_last<mode>( return select_and_set_last<mode>(
context, std::bind(obj_it->func, _1, _2, count, flags)); context, std::bind(obj_it->func, _1, _2, count, flags));
if (cp == ':') if (cp == 'c')
{ {
const bool info = show_auto_info_ifn( const bool info = show_auto_info_ifn(
"Enter object desc", "format: <open text>,<close text>", "Enter object desc", "format: <open text>,<close text>",
@ -1170,7 +1170,7 @@ void select_object(Context& context, NormalParams params)
{{'i'}, "indent"}, {{'i'}, "indent"},
{{'u'}, "argument"}, {{'u'}, "argument"},
{{'n'}, "number"}, {{'n'}, "number"},
{{':'}, "custom object desc"}})); {{'c'}, "custom object desc"}}));
} }
template<Direction direction, bool half = false> template<Direction direction, bool half = false>