split_lines sets the last selection as the main one
This commit is contained in:
parent
49ee2495a4
commit
4e3d551426
|
@ -580,6 +580,7 @@ void split_lines(Context& context, int)
|
|||
res.push_back({line, {line, buffer[line].length()-1}});
|
||||
res.push_back({max.line, max});
|
||||
}
|
||||
res.set_main_index(res.size() - 1);
|
||||
selections = std::move(res);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user