diff options
Diffstat (limited to 'src/vs/editor/contrib/tokenization/browser/tokenization.ts')
-rw-r--r-- | src/vs/editor/contrib/tokenization/browser/tokenization.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vs/editor/contrib/tokenization/browser/tokenization.ts b/src/vs/editor/contrib/tokenization/browser/tokenization.ts index 10cf6e1b1f6..8e673149542 100644 --- a/src/vs/editor/contrib/tokenization/browser/tokenization.ts +++ b/src/vs/editor/contrib/tokenization/browser/tokenization.ts @@ -23,9 +23,9 @@ class ForceRetokenizeAction extends EditorAction { return; } const model = editor.getModel(); - model.resetTokenization(); + model.tokenization.resetTokenization(); const sw = new StopWatch(true); - model.forceTokenization(model.getLineCount()); + model.tokenization.forceTokenization(model.getLineCount()); sw.stop(); console.log(`tokenization took ${sw.elapsed()}`); |