On Thursday 24 September 2009, Chris Fryer wrote:

> I need to add cut, copy and paste keyboard actions to the control
> rulers.
>
> Unfortunately, I don't have the foggiest idea how to do this.

I started to answer, but then I got to thinking about it, and this is a little 
more tricky than I was thinking at first.  Before we get into how to create 
actions and associate shortcuts with them, let's think about why they're 
needed, and what we want to do.

It seems to me having a separate cut/copy/paste for the ruler would be 
awkward.  They'd have to be separate actions driving new commands with 
independent shortcuts (notably they could *not* be Ctrl+C/X/V) and all of that 
seems like the bad old days where the rulers were awkward and barely usable.

Shortly before Classic end of lifed, someone was trying to make the old rulers 
work with the same selection as the matrix or notation view, and it seems to 
me that's an idea well worth thinking about.  There are currently two 
independent selections, but if your control points were part of the 
matrix/notation selection, then the plain ol' cut/copy/paste that already 
exists would pick them up and set them down, right?  The data is displayed in 
an independent widget, but these things are just events in the segment like 
anything else.

Maybe the rulers have to have their own independent selection for practical 
reasons, but the two selections simply need to be kept in sync.  Start 
selecting control points, it kicks out the notation/matrix selection.  Start 
selecting notes (etc.), it kicks out the control selection.  Copy the 
selection back and forth, use a pointer to a common selection physically 
shared between classes, I don't know exactly, but at the end of the day the 
ruler selection is part of the selection the that exists within reach of the 
widget that knows what to do with cut/copy/paste already.  No parallel extra 
actions or shortcuts.

I have NO idea how technically complicated this suggestion is.  It's just the 
thought that jumped into my head after I thought about your question for a 
moment.  If we could do something like what I'm getting at here, it solves the 
shortcuts problem and makes for a more usable interface too, I think.
-- 
D. Michael McIntyre

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to