This commit is contained in:
Johannes Rieken
2018-09-24 09:49:13 +02:00
parent 588cfc8b68
commit 135c659f98

View File

@@ -174,6 +174,7 @@ class MainThreadDocumentAndEditorStateComputer {
) {
this._modelService.onModelAdded(this._updateStateOnModelAdd, this, this._toDispose);
this._modelService.onModelRemoved(_ => this._updateState(), this, this._toDispose);
this._editorService.onDidActiveEditorChange(_ => this._updateState(), this, this._toDispose);
this._codeEditorService.onCodeEditorAdd(this._onDidAddEditor, this, this._toDispose);
this._codeEditorService.onCodeEditorRemove(this._onDidRemoveEditor, this, this._toDispose);