From: Chris C. <ca...@al...> - 2002-08-12 11:41:51
|
Richard Bown wrote: > I was going to just push off the old matrix elements pointers and > a copy off their Events so we can rematch and reconnect after the > command has been executed. Oh, so you were wanting to make the events remain selected even if they have been changed by the command -- is that it? You may find that difficult because of course after most commands the events don't exist any more (any command that changes an event's duration, for example, must delete the event and replace it). I could be misunderstanding you though. > need push() and pop() type calls after each event is executed You don't explain how you know when a command (I assume you mean "command" not "event") is executed. The only reliable way at the moment is through the command history's commandExecuted signal, and I'm not sure whether you'll be able to do what you want from there because you don't have much information. > I'll have a look at what you've done anyway. Well, I haven't done it yet but I'll do so and then you can see what you reckon. I'm not bothered how you choose to set about it in the matrix, except where it affects the notation view as well of course. Chris |