I made OpenOrCloseRangeCommand update markers. That means the range
editing commands won't mess up markers.
Markers are a neat way to get around in your composition. I thank whoever
coded that! Just Ctl K, click, and you're there. Problem is, as soon as
you range-edit, the markers get out of sync with the composition.
Suddenly the later ones are all a few measures off. That's no good.
Now markers stay in sync no matter how much you range-edit. I've tried it
out and I see no obvious bugs. It even co-operates with the Marker Editor
(not my doing, it was already getting appropriate update notifications)
It has an accidental nice side-effect of putting the markers in timewise
order, but just the ones that come after the range edit. To really do
that properly would require changing the marker container in Composition
from vector to multiset.
Technical:
It's mostly a new class MarkerSelection that mirrors
TimeSignatureSelection and TempoSelection.
All three classes are so similar that I made a template class
(TimePairedSelection) that supports all the joint functionality, which I
derived MarkerSelection from.
Fearing to break something that didn't need fixing, I didn't change
TimeSignatureSelection and TempoSelection to inherit from it. They could
both be reduced to a few lines of template support, though.
Tom Breton (Tehom)
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel