Name
Texteditor.GetXY -- convert index position into column and row
Synopsis
x, y = moai.DoMethod(id, "GetXY", pos)
Function
This method converts the specified index position into its column and row constituents. Both column and row counters start at index 0. For invalid indices, -1 is returned.

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

Show TOC