Methods

textInputClosestPositionInLine(fromPosition:Int, fromLine:Int, toLine:Int):Int

Returns the position in toLine which is closest to the position in fromLine/fromPosition (in X coordinates). Positions are relative to their line.

textInputIndexForPosInLine(lineNumber:Int, lineOffset:Int):Int