Instruction set reference
HIPE_OP_CARAT_POSITION
This instruction relates to the current position of the text entry carat (cursor position, or range of selected text) in an input element such as a textarea tag.
The instruction may be sent to the server in order to move the text cursor position or select a range of text. It can also be received from the server in response to a HIPE_OP_GET_CARAT_POSITION instruction, to get the current text entry and/or selection position.
- location: The element for which to set the text entry carat position.
 - arg[0]: Character position of the cursor within the element.
 - arg[1]: Character position of the end of the selection. If no text should be selected (simple cursor) then use the same value as arg[0] (to represent that the selection has a length of zero).
 
