Exit select mode after toggle_comment. Fixes #597 (#598)

Consistent with yanking, exit select mode after toggling comment. Fixes #597
imgbot
Yerlan 3 years ago committed by GitHub
parent 9912bd7821
commit 18c0509593
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3926,6 +3926,7 @@ fn toggle_comments(cx: &mut Context) {
doc.apply(&transaction, view.id);
doc.append_changes_to_history(view.id);
exit_select_mode(cx);
}
fn rotate_selections(cx: &mut Context, direction: Direction) {

Loading…
Cancel
Save