make switch case commands exit select mode

This commit is contained in:
Ryan Mehri 2023-11-05 08:15:49 -08:00 committed by Michael Davis
parent d4a0eba1a7
commit 09c78e8b4e

View File

@ -1528,6 +1528,7 @@ fn switch_case_impl<F>(cx: &mut Context, change_fn: F)
});
doc.apply(&transaction, view.id);
exit_select_mode(cx);
}
fn switch_case(cx: &mut Context) {