Name
Texteditor.GetLineLength -- get number of characters in line (V2.0)
Synopsis
len = moai.DoMethod(id, "GetLineLength", line)
Function
This method returns the number of characters in the line specified by line. Trailing characters like carriage return or linefeed will not be included in the count. Line indices are counted from 0.

Inputs
id
id of the text editor object
line
index of line to query (starting from 0)
Results
len
number of characters in line

Show TOC