Input.ScrollToLine

Input.ScrollToLine ( 

string ObjectName,

number Line )

Example 1

-- Scrolls the text in the "Input1" input object to the third line.
Input.ScrollToLine("Input1", 3);

Scrolls the text in the "Input1" input object to the third line. The third line will appear as the first visible line of text in the object.

Example 2

-- Scrolls the text in the "Input1" input object to the last line.
Input.ScrollToLine("Input1", -1);

Scrolls the text in the "Input1" input object to the last line (-1 is used to specify the last line).

See also:  Related Actions