make _replaceRange internal only

This commit is contained in:
Bruno Windels 2019-09-04 15:57:29 +02:00
parent 4c04bc19c9
commit 7a01d1407f
2 changed files with 3 additions and 3 deletions

View file

@ -58,7 +58,7 @@ export default class Range {
this._start.iteratePartsBetween(this._end, this._model, (part, startIdx, endIdx) => {
oldLength += endIdx - startIdx;
});
this._model.replaceRange(this._start, this._end, parts);
this._model._replaceRange(this._start, this._end, parts);
return newLength - oldLength;
}