mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04:00
Consistent with yanking, exit select mode after toggling comment. Fixes #597
This commit is contained in:
parent
9912bd7821
commit
18c0509593
@ -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…
Reference in New Issue
Block a user