This commit is contained in:
Johannes Rieken
2017-04-11 15:16:35 +02:00
parent a55f3eb6f2
commit 65645f489e

View File

@@ -109,7 +109,7 @@ export class ExtHostDocumentsAndEditors extends ExtHostDocumentsAndEditorsShape
if (delta.removedEditors || delta.addedEditors) {
this._onDidChangeVisibleTextEditors.fire(this.allEditors());
}
if (delta.newActiveEditor) {
if (delta.newActiveEditor !== undefined) {
this._onDidChangeActiveTextEditor.fire(this.activeEditor());
}