mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 17:36:19 +04:00
Exit select mode on delete_selection
This commit is contained in:
parent
43b92b24d2
commit
8afd4e1bc2
@ -771,6 +771,9 @@ pub fn delete_selection(cx: &mut Context) {
|
||||
_delete_selection(doc, view.id);
|
||||
|
||||
doc.append_changes_to_history(view.id);
|
||||
|
||||
// exit select mode, if currently in select mode
|
||||
exit_select_mode(cx);
|
||||
}
|
||||
|
||||
pub fn change_selection(cx: &mut Context) {
|
||||
|
Loading…
Reference in New Issue
Block a user