src/vs/workbench/browser/parts/editor/textCodeEditor.ts/AbstractTextCodeEditor/hasFocus
class AbstractTextCodeEditor:	override hasFocus(): boolean {
		return this.editorControl?.hasTextFocus() || super.hasFocus();
	}