summaryrefslogtreecommitdiff
path: root/helix-core
diff options
context:
space:
mode:
Diffstat (limited to 'helix-core')
-rw-r--r--helix-core/src/transaction.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/transaction.rs b/helix-core/src/transaction.rs
index 359eb2ee..9cb51718 100644
--- a/helix-core/src/transaction.rs
+++ b/helix-core/src/transaction.rs
@@ -477,8 +477,8 @@ impl Transaction {
let span = to - from;
match tendril {
Some(text) => {
- changeset.delete(span);
changeset.insert(text);
+ changeset.delete(span);
}
None => changeset.delete(span),
}