Can you capture highlighted text?

You’re drawing a GUI.textarea, and you want to capture the portion of the string that the player has highlighted. Is this possible? How is this accomplished?

In C#:

TextEditor t = (TextEditor)GUIUtility.GetStateObject( typeof(TextEditor), GUIUtility.keyboardControl);

t.SelectedText

I found this at: UnityGUIExtensions/AutoSelect.cs at master · MrJoy/UnityGUIExtensions · GitHub

Don’t you put that evil on me ricky bobby! Whence did you conjure this voodoo?