Version: 2019.1

EditorGUIUtility.textFieldHasSelection

Switch to Manual
public static bool textFieldHasSelection ;

Description

True if a text field currently has focused and the text in it is selected.