make indent/unindent exit select mode
This commit is contained in:
parent
2acf5e365e
commit
34de1cab62
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue