23645Re: [Clip] Text selection boundaries
- Feb 4, 2013On 2/4/2013 8:19 AM, Jean-François Colas wrote:
> Hello list,Fascinating! If you find the cursor blinks after the last character of
> Maybe I missed something obvious... Is there any way to determine the
> coordinates (at least the row number) of the starting and ending points
> of a selection?
the selection on my screen, but if you use getrow and getcol it marks
the first character of the selection (not where the cursor is blinking).
I then jump selection end and capture it.
There are several other ways I can think of to do this, but this worked
;FILL IN YOUR OWN SEARCH TERM
^!Find "SEARCH TERM" CIWS
;LONG LINE FOLLOWS
^!Info [C]Selection Start (row:col):
^%selection_start_row%:^%selection_start_col%^PSelection Stop (row:col):
;END OF LONG LINE
- << Previous post in topic Next post in topic >>