Home / comp / gb.qt.ext / textedit / toindex 
TextEdit.ToIndex (gb.qt.ext)
Syntax
FUNCTION ToIndex ( Pos AS Integer ) AS Integer
Gets a number of characters since the beginning of the text, and returns the character index inside the paragraph returned by ToParagraph that corresponds to that position.