Adopt IEventEmitter.addListener2

This commit is contained in:
Alex Dima
2016-05-21 10:37:27 +02:00
parent b9b39fd2ae
commit c63203bf80
74 changed files with 405 additions and 556 deletions

View File

@@ -52,7 +52,7 @@ export class ElectronWindow {
// React to editor input changes (Mac only)
if (platform.platform === platform.Platform.Mac) {
this.eventService.addListener(EventType.EDITOR_INPUT_CHANGED, (e: EditorEvent) => {
this.eventService.addListener2(EventType.EDITOR_INPUT_CHANGED, (e: EditorEvent) => {
let fileInput = workbenchEditorCommon.asFileEditorInput(e.editorInput, true);
let representedFilename = '';
if (fileInput) {