We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9080657 commit e64712aCopy full SHA for e64712a
src/vs/editor/browser/widget/diffEditorWidget2/diffEditorWidget2.ts
@@ -77,10 +77,9 @@ export class DiffEditorWidget2 extends DelegatingEditor implements IDiffEditor {
77
@ICodeEditorService codeEditorService: ICodeEditorService,
78
) {
79
super();
80
-
81
codeEditorService.willCreateDiffEditor();
82
83
- this._contextKeyService.createKey(EditorContextKeys.inDiffEditor.key, true);
+ this._contextKeyService.createKey('isInDiffEditor', true);
84
this._contextKeyService.createKey('diffEditorVersion', 2);
85
86
this._options = new DiffEditorOptions(options);
0 commit comments