From 1d6b0bf5207d5cce133e2d71342fdcfff3b310fa Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Thu, 9 Feb 2017 16:51:40 +0100 Subject: [PATCH] fix #20306 --- src/vs/editor/contrib/quickFix/common/quickFixModel.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/vs/editor/contrib/quickFix/common/quickFixModel.ts b/src/vs/editor/contrib/quickFix/common/quickFixModel.ts index ffe80af3091..57d57a9fff8 100644 --- a/src/vs/editor/contrib/quickFix/common/quickFixModel.ts +++ b/src/vs/editor/contrib/quickFix/common/quickFixModel.ts @@ -22,7 +22,7 @@ export class QuickFixOracle { private _currentRange: IRange; constructor(private _editor: ICommonCodeEditor, private _markerService: IMarkerService, private _signalChange: (e: QuickFixComputeEvent) => any) { - + this._onCursorChange(); this._disposables.push( this._markerService.onMarkerChanged(e => this._onMarkerChanges(e)), this._editor.onDidChangeCursorPosition(e => this._onCursorChange()) @@ -169,7 +169,6 @@ export class QuickFixModel { && !this._editor.getConfiguration().readOnly) { this._quickFixOracle = new QuickFixOracle(this._editor, this._markerService, p => this._onDidChangeFixes.fire(p)); - this._quickFixOracle.trigger(); } } -- GitLab