make indent/unindent exit select mode

pull/8861/head
Ryan Mehri 8 months ago committed by Michael Davis
parent 2acf5e365e
commit 34de1cab62

@ -4207,6 +4207,7 @@ fn indent(cx: &mut Context) {
}),
);
doc.apply(&transaction, view.id);
exit_select_mode(cx);
}
fn unindent(cx: &mut Context) {
@ -4246,6 +4247,7 @@ fn unindent(cx: &mut Context) {
let transaction = Transaction::change(doc.text(), changes.into_iter());
doc.apply(&transaction, view.id);
exit_select_mode(cx);
}
fn format_selections(cx: &mut Context) {

Loading…
Cancel
Save