diff options
Diffstat (limited to 'src/vs/workbench/services/preferences/common/preferencesModels.ts')
-rw-r--r-- | src/vs/workbench/services/preferences/common/preferencesModels.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vs/workbench/services/preferences/common/preferencesModels.ts b/src/vs/workbench/services/preferences/common/preferencesModels.ts index df0250c0d61..000a74b77ca 100644 --- a/src/vs/workbench/services/preferences/common/preferencesModels.ts +++ b/src/vs/workbench/services/preferences/common/preferencesModels.ts @@ -903,7 +903,7 @@ export class DefaultSettingsEditorModel extends AbstractSettingsModel implements // Force tokenization now - otherwise it may be slightly delayed, causing a flash of white text const tokenizeTo = Math.min(startLine + 60, this._model.getLineCount()); - this._model.forceTokenization(tokenizeTo); + this._model.tokenization.forceTokenization(tokenizeTo); return { matches, settingsGroups }; } |