TermEdit.getCaretMetadata

Syntax

getCaretMetadata();

Description

The getCaretMetadata method returns cursor data.

Comments

The returned object contains the following fields: Position - cursor position relative to the entire expression; Offset - cursor position relative to the found term; Term - the term where the cursor is located; Index - position of the current of the next term if the cursor is not inside any term.

Example

The example of method use is given in description of the Term.Splitted event.

See also:

TermEdit