TermEdit.CaretPos

Syntax

CaretPos: Number;

Description

The CaretPos property determines cursor position in term editor.

Comments

Use JSON or the setCaretPos method to set the property value and the getCaretPos method to get the property value.

The property is identical to the TermEdit.CaretPosition property.

Example

The property behavior is identical to that of the TermEdit.CaretPosition property, the example of use of which is given in the Term.Splitted page.

See also:

TermEdit