src/vs/workbench/services/editor/browser/editorService.ts/EditorService/activeEditor
class EditorService:	get activeEditor(): IEditorInput | undefined {
		const activeGroup = this.editorGroupService.activeGroup;

		return activeGroup ? withNullAsUndefined(activeGroup.activeEditor) : undefined;
	}