- // FIXME: change tracking (MG)
- && oldpar.lookupChange(old.pos() - 1) != Change(Change::DELETED)) {
- // We need to set the text to Change::INSERTED to
- // get it erased properly
- // FIXME: change tracking (MG)
- oldpar.setChange(old.pos() -1, Change(Change::INSERTED));
- oldpar.erase(old.pos() - 1);
+ && !oldpar.isDeleted(old.pos() - 1)) {
+ oldpar.eraseChar(old.pos() - 1, false); // do not track changes in DEPM