未验证 提交 9f0d6a6d 编写于 作者: A Alex Dima

Yield every 1 ms from tokenization (fixes #40681)

上级 dd9fe158
......@@ -270,7 +270,7 @@ export class TextModelTokenization extends Disposable {
}
private _revalidateTokensNow(toLineNumber: number = this._textModel.getLineCount()): void {
const MAX_ALLOWED_TIME = 20;
const MAX_ALLOWED_TIME = 1;
const builder = new MultilineTokensBuilder();
const sw = StopWatch.create(false);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册