thanks everyone who has helped me with RTXbox control.
I can now get the text line at the cursor using GETLINETEXT and GETLINEFROMCHAR

BUT how can I find where the cursor is in terms of the character position from the start of the current cursor text line?
.SelStart returns the position from the start of the text, NOT the start of the current line.