mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 23:34:49 +01:00
fix: whops, (I don't know why this bug is still here)
This commit is contained in:
parent
487a490887
commit
d0d57f6fd5
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ impl ControllerWorker<TextChange> for BufferWorker {
|
||||||
let last_ver = oplog.local_version();
|
let last_ver = oplog.local_version();
|
||||||
|
|
||||||
if change.is_delete() {
|
if change.is_delete() {
|
||||||
branch.delete_without_content(&mut oplog, 1, change.start as usize..change.end as usize);
|
branch.delete_without_content(&mut oplog, agent_id, change.start as usize..change.end as usize);
|
||||||
}
|
}
|
||||||
|
|
||||||
if change.is_insert() {
|
if change.is_insert() {
|
||||||
|
|
Loading…
Reference in a new issue