Defines the floating pointer in the document. Whenever text is inserted or deleted before the cursor, the position of the cursor is updated.
Defines the floating pointer in the document. Whenever text is inserted or deleted before the cursor, the position of the cursor is updated.
Fires whenever the anchor position changes.
Fires whenever the anchor position changes.
Both of these objects have a row
and column
property corresponding to the position.
Events that can trigger this function include setPosition()
.
e | Object | Required. An object containing information about the anchor position. It has two properties:
|
When called, the 'change'
event listener is removed.
When called, the 'change'
event listener is removed.
Returns the current document.
Returns the current document.
Returns an object identifying the row
and column
position of the current anchor.
Returns an object identifying the row
and column
position of the current anchor.
Sets the anchor position to the specified row and column. If noClip
is true
, the position is not clipped.
Sets the anchor position to the specified row and column. If noClip
is true
, the position is not clipped.
row | Number | Required. The row index to move the anchor to |
column | Number | Required. The column index to move the anchor to |
noClip | Boolean | Required. Identifies if you want the position to be clipped |