src/vs/editor/browser/widget/codeEditorWidget.ts/CodeEditorWidget/hasTextFocus
class CodeEditorWidget:	public hasTextFocus(): boolean {
		if (!this._modelData || !this._modelData.hasRealView) {
			return false;
		}
		return this._modelData.view.isFocused();
	}