Thanks! How can I get the caret position (in characters)?
Recent community posts
Suppose we have a string "0123456789" and the caret is currently at '3'. Is there a something similar to insertTextAtCaretPosition("***")
or insertTextAt(getCaretPosition(), "***")
which will result in "012***3456789"
When Super Text Mesh is in the editable mode, Is it possible to insert text/rich text pro grammatically into the current position of the caret? Is there an API to get the current position of the caret ? Thanks!