mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-06 12:27:42 +03:00
make increment/decrement exit select mode
This commit is contained in:
parent
09c78e8b4e
commit
6bf5548dbd
1 changed files with 1 additions and 0 deletions
|
@ -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::change(doc.text(), changes.into_iter());
|
||||||
let transaction = transaction.with_selection(new_selection);
|
let transaction = transaction.with_selection(new_selection);
|
||||||
doc.apply(&transaction, view.id);
|
doc.apply(&transaction, view.id);
|
||||||
|
exit_select_mode(cx);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue