Good idea, but the text position doesn’t get updated when the cursor moves. It only get’s updated when more text is inserted.
The value of the textBox’s startposition stays the same until additional text is added. Moving around with the cursor doesn’t continually update the startposition.
Might have to handle this one character at a time and process cursor moves and input. Seems like an overly complicated what to do it.
Any other suggestions?