EnvTextCurrentLineIndex()

Identifies the current curser location by line number.

Token ID

AFTKN_TEXTENTRY_GET_LINE_INDEX or 658

Syntax

WORD EnvTextCurrentLineIndex() 

Return Values

WORD. Returns the line number associated with the current cursor position.

Remarks

This token uses zero-based indexes, thus the first line of a message is line 0, the next link is line 1, etc.