Fix tabs that appeared in the codebase
This commit is contained in:
parent
ab925686ab
commit
00c8d1a4fa
|
@ -678,7 +678,7 @@ void rotate_selections_content(Context& context)
|
||||||
int count = context.numeric_param();
|
int count = context.numeric_param();
|
||||||
if (count == 0)
|
if (count == 0)
|
||||||
count = 1;
|
count = 1;
|
||||||
Editor& editor = context.editor();
|
Editor& editor = context.editor();
|
||||||
auto strings = editor.selections_content();
|
auto strings = editor.selections_content();
|
||||||
count = count % strings.size();
|
count = count % strings.size();
|
||||||
std::rotate(strings.begin(), strings.end()-count, strings.end());
|
std::rotate(strings.begin(), strings.end()-count, strings.end());
|
||||||
|
@ -776,8 +776,8 @@ void jump(Context& context)
|
||||||
|
|
||||||
void save_selections(Context& context)
|
void save_selections(Context& context)
|
||||||
{
|
{
|
||||||
context.push_jump();
|
context.push_jump();
|
||||||
context.print_status({ "saved " + to_string(context.editor().selections().size()) +
|
context.print_status({ "saved " + to_string(context.editor().selections().size()) +
|
||||||
" selections", get_color("Information") });
|
" selections", get_color("Information") });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user