src/vs/workbench/browser/parts/editor/textEditor.ts/BaseTextEditor/onWillCloseEditor
class BaseTextEditor:	private onWillCloseEditor(e: IEditorCloseEvent): void {
		const editor = e.editor;
		if (editor === this.input) {
			this.onWillCloseEditorInGroup(editor);
		}
	}