519
headSrcRangeStartCol = headSrcRangeEndCol;
520
} else {
521
>
let splitPosLine: number, splitPosCol: number;
textEdit.ts
522
>
if (splitLenLine === 0) {
523
splitPosLine = headSrcRangeStartLine;
524
splitPosCol = headSrcRangeStartCol + splitLenCol;
526
splitPosLine = headSrcRangeStartLine + splitLenLine;
527
splitPosCol = splitLenCol + 1;
528
}
530
>
if (consumedStartS0Line === null) {
531
consumedStartS0Line = headSrcRangeStartLine;
532
consumedStartS0Col = headSrcRangeStartCol;
533
}
535
>
consumedEndS0Col = splitPosCol;
536
>
537
>
headSrcRangeStartLine = splitPosLine;
538
>
headSrcRangeStartCol = splitPosCol;
539
>
540
>
headLengthLine = remainingLenLine;
541
>
headLengthCol = remainingLenCol;
542
>
}
543
currentPosInS1Line = r2End.lineNumber;
544
currentPosInS1Col = r2End.column;