Consistent with yanking, exit select mode after toggling comment. Fixes #597
This commit is contained in:
parent
9912bd7821
commit
18c0509593
1 changed files with 1 additions and 0 deletions
|
@ -3926,6 +3926,7 @@ fn toggle_comments(cx: &mut Context) {
|
||||||
|
|
||||||
doc.apply(&transaction, view.id);
|
doc.apply(&transaction, view.id);
|
||||||
doc.append_changes_to_history(view.id);
|
doc.append_changes_to_history(view.id);
|
||||||
|
exit_select_mode(cx);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn rotate_selections(cx: &mut Context, direction: Direction) {
|
fn rotate_selections(cx: &mut Context, direction: Direction) {
|
||||||
|
|
Loading…
Reference in a new issue