Instruction set reference
HIPE_OP_CARAT_POSITION
Sets the position of the text entry carat (cursor position, or range of selected text) in an input element such as a textarea tag.
- 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).