mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-09-11 16:07:00 +03:00
make increment/decrement exit select mode
This commit is contained in:
parent
09c78e8b4e
commit
6bf5548dbd
@ -5684,6 +5684,7 @@ fn increment_impl(cx: &mut Context, increment_direction: IncrementDirection) {
|
||||
let transaction = Transaction::change(doc.text(), changes.into_iter());
|
||||
let transaction = transaction.with_selection(new_selection);
|
||||
doc.apply(&transaction, view.id);
|
||||
exit_select_mode(cx);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user