Fix compilation

上级 ec689c65
......@@ -781,7 +781,7 @@ function createLineMapping(breakingLengths: number[], breakingOffsetsVisibleColu
for (let i = 0; i < breakingLengths.length; i++) {
sums[i] = (i > 0 ? sums[i - 1] : 0) + breakingLengths[i];
}
return new LineBreakingData(0, sums, breakingOffsetsVisibleColumn, wrappedTextIndentWidth);
return new LineBreakingData(sums, breakingOffsetsVisibleColumn, wrappedTextIndentWidth);
}
function createModel(text: string): ISimpleModel {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册