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

Use model.isTooLargeForSyncing to avoid syncing

上级 7e5232aa
......@@ -37,7 +37,7 @@ function canSyncModel(modelService: IModelService, resource: URI): boolean {
if (!model) {
return false;
}
if (model.isTooLargeForTokenization()) {
if (model.isTooLargeForSyncing()) {
return false;
}
return true;
......@@ -265,7 +265,7 @@ class EditorModelManager extends Disposable {
if (!model) {
return;
}
if (model.isTooLargeForTokenization()) {
if (model.isTooLargeForSyncing()) {
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册