denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Denemo-devel] Selection Markers in Scheme


From: Nils Gey
Subject: [Denemo-devel] Selection Markers in Scheme
Date: Mon, 23 May 2011 12:57:10 +0200

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]