提交 e031b094 编写于 作者: A Alex Dima

Improve check for cached line below with content

上级 3762f0f7
......@@ -905,7 +905,7 @@ export class TextModelWithTokens extends TextModel implements editorCommon.IToke
}
}
if (belowContentLineIndex === -2 || belowContentLineIndex < lineNumber - 1) {
if (belowContentLineIndex !== -1 && (belowContentLineIndex === -2 || belowContentLineIndex < lineNumber - 1)) {
belowContentLineIndex = -1;
belowContentLineIndent = -1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册