I have a textfield with html content. The field contains
various data, and I want to get the position of the caret in the
raw htmltext. In a simple (not HTML) text I used the
"Selection.getCaretIndex", but I need the caret position in the
HTML code of the same text. How can I do it?