252
253
if (!gapIsEmpty) {
254
>
headSrcRangeStartLine = lastEdit1EndS0Line;
textEdit.ts
255
>
headSrcRangeStartCol = lastEdit1EndS0Col;
256
>
headSrcRangeEndLine = nextEditStart.lineNumber;
257
>
headSrcRangeEndCol = nextEditStart.column;
258
>
259
>
headText = null;
260
>
261
>
if (lastEdit1EndS0Line === nextEditStart.lineNumber) {
262
headLengthLine = 0;
263
headLengthCol = nextEditStart.column - lastEdit1EndS0Col;
265
headLengthLine = nextEditStart.lineNumber - lastEdit1EndS0Line;
266
headLengthCol = nextEditStart.column - 1;
267
}
269
>
headHasValue = true;
270
>
lastEdit1EndS0Line = nextEditStart.lineNumber;
271
>
lastEdit1EndS0Col = nextEditStart.column;
272
} else {
273
const nextEditEnd = nextEdit.range.getEndPosition();