- Home /
Access selected text or cursor position of TextArea in CustomEditor
I'm trying to build a custom Editor for a derived class of text. I managed to get access to the text variable used by the component, but what I don't even find anything about is how to work with the Cursor and the selections in the TextArea.
On BitBucket I found every class that formatted everything except for the TextAreaAttribute. I must admit I don't even know how to go about this, but I would like to know where the cursor was set, what text was selected, if I deleted it or typed in a new character...
I know I can try to achieve that by comparing the whole string old and edited, but I'm curious about getting access to the controls
So how do I get access to the controls of a TextAreaAttributed string variable?
Your answer
Follow this Question
Related Questions
How to make camera position relative to a specific target. 1 Answer
Cannot set Selection.activeObject (no errors, no clues) 0 Answers
Hardware accelerated mouse 3 Answers
Customizing Editor Interface 1 Answer
Select all text within a textarea 2 Answers