From 3eb1c588ec05bff71d2aeb805c3b907a6c2d8fbc Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Mon, 13 Mar 2017 09:12:54 +0100 Subject: [PATCH] make light bulb only show on one line --- src/vs/editor/contrib/quickFix/browser/lightBulbWidget.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/editor/contrib/quickFix/browser/lightBulbWidget.ts b/src/vs/editor/contrib/quickFix/browser/lightBulbWidget.ts index b8338c48205..632d243c627 100644 --- a/src/vs/editor/contrib/quickFix/browser/lightBulbWidget.ts +++ b/src/vs/editor/contrib/quickFix/browser/lightBulbWidget.ts @@ -93,7 +93,7 @@ export class LightBulbWidget implements IDisposable { this._currentLine = e.range.startLineNumber; this._decorationIds = this._editor.deltaDecorations(this._decorationIds, [{ options: this._options, - range: e.range + range: { ...e.range, endLineNumber: e.range.startLineNumber } }]); } -- GitLab