Richard,

You could create either two functions, one for the first selected and one for 
the last selected position or create one function that returns the boundaries. 
Maybe two separate functions is better.

Please make the return value compatible with GoToPosition, which means (list 
movement staff measure horizontal-position).

(apply d-GoToPosition (d-GetSelectionEnd)) moves the cursor to the last 
selected object then.

Nils

P.S.
We already have built-ins MoveToSelectionStart (or sim.). The meaning is 
slightly different here. But the new functions are much more flexible because 
you just get the data and can decide if you just want to compare, store it or 
actually go there.

_______________________________________________
Denemo-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/denemo-devel

Reply via email to