diff options
author | Pascal Kuthe | 2023-03-09 21:19:14 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2023-03-10 07:54:17 +0000 |
commit | 2b64a64d7ea43e22ad82f97f2c118891b74c3199 (patch) | |
tree | f81846cf308e9b99192479830259b4a52d44ac1f /helix-core/Cargo.toml | |
parent | cdec933523560f71c665469adc409d7ac0e06171 (diff) |
Add API to create a Transaction from potentially overlapping changes
This commit adds new functions to `Transaction` that allow creating
edits that might potentially overlap. Any change that overlaps
previous changes is ignored. Furthermore, a utility method is added
that also drops selections associated with dropped changes (for
transactions that are created from a selection).
This is needed to avoid crashes when applying multicursor
autocompletions, as the edit from a previous cursor may overlap
with the next cursor/edit.
Diffstat (limited to 'helix-core/Cargo.toml')
0 files changed, 0 insertions, 0 deletions