Name
Texteditor.GetPosition -- get index position from column and row (V2.0)
Synopsis
pos = moai.DoMethod(id, "GetPosition", x, y)
Function
This method converts the column and row position specified by x and y into an index position. All values start at index 0. For invalid column and row positions, -1 is returned.

Inputs
id
id of the text editor object
x
column position
y
row position
Results
pos
index of the specified column and row position

Show TOC