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

Fixes #29033

上级 d4bba5a5
......@@ -177,7 +177,8 @@ export class SplitLinesCollection implements IViewModelLinesCollection {
private _ensureValidState(): void {
let modelVersion = this.model.getVersionId();
if (modelVersion !== this._validModelVersionId) {
throw new Error('SplitLinesCollection: attempt to access a \'newer\' model');
// This is pretty bad, it means we lost track of the model...
this._constructLines(false);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册