push changes to history manager
This commit is contained in:
parent
aa22c90f2c
commit
98bc0d24f4
2 changed files with 7 additions and 4 deletions
|
@ -107,7 +107,7 @@ export default class EditorModel {
|
|||
const caretOffset = diff.at - removedOffsetDecrease + addedLen;
|
||||
const newPosition = this.positionForOffset(caretOffset, true);
|
||||
this._setActivePart(newPosition, canOpenAutoComplete);
|
||||
this._updateCallback(newPosition);
|
||||
this._updateCallback(newPosition, inputType, diff);
|
||||
}
|
||||
|
||||
_setActivePart(pos, canOpenAutoComplete) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue