mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
Adopt IEventEmitter.addListener2
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user