This request is about the text cursor position (see attached textcursor.png) - not the mouse cursor position.
There's currently no way to get/set the current text cursor position in EditBox dialog controls (https://community.bistudio.com/wiki/DialogControls-EditBox).
getter Syntax:
ebCursor ctrl
and alternative syntax:
ebCursor idc
where:
ctrl: Control
idc: Number - ID of the control
Returns: Number
- 0 - text cursor at start
- 1 - text cursor between element 0 and 1
- ...
- count (toArray (ctrlText _ctrl)) - text cursor at end
setter syntax:
ctrl ebSetCursor pos
and alternative syntax:
ebSetCursor [idc,pos]
where:
ctrl: Control
pos: Number - text cursor position
idc: Number - ID of the control {F23598}