419
return [];
420
}
422
>
const commonSuffix = this._commonSuffix(model, modelLineCount - commonPrefix, commonPrefix, textBuffer, textBufferLineCount - commonPrefix, commonPrefix);
423
>
424
>
let oldRange: Range;
425
>
let newRange: Range;
426
>
if (commonSuffix > 0) {
427
oldRange = new Range(commonPrefix + 1, 1, modelLineCount - commonSuffix + 1, 1);
428
newRange = new Range(commonPrefix + 1, 1, textBufferLineCount - commonSuffix + 1, 1);
430
oldRange = new Range(commonPrefix, model.getLineMaxColumn(commonPrefix), modelLineCount, model.getLineMaxColumn(modelLineCount));
431
newRange = new Range(commonPrefix, 1 + textBuffer.getLineLength(commonPrefix), textBufferLineCount, 1 + textBuffer.getLineLength(textBufferLineCount));