src/vs/workbench/api/browser/mainThreadDocumentsAndEditors.ts/MainThreadDocumentAndEditorStateComputer/_getActiveEditorFromEditorPart
class MainThreadDocumentAndEditorStateComputer:	private _getActiveEditorFromEditorPart(): IEditor | undefined {
		let activeTextEditorControl = this._editorService.activeTextEditorControl;
		if (isDiffEditor(activeTextEditorControl)) {
			activeTextEditorControl = activeTextEditorControl.getModifiedEditor();
		}
		return activeTextEditorControl;
	}