GETCARET
Syntax
GETCARET(<window>, <icon>, <position>)
Description
Fills the variables <window>, <icon> and <position> with the values relevant to the current position of the caret (cursor), ie. where text would appear when typed. <window> will be -1 if the caret is not visible. <position> is the position of the caret within the icon's string.