Re: [Denemo-devel] new paste

2011-03-02 Thread Nils Gey
The new paste is in git. Differences between the old version (except fewer bugs and higher speed) * Multistaff pasting now fills up empty measures (if there is an empty measure in all participating staffs) * Singlestaff pastes now exactly what you copied. No by-guess adding of barlines anymore. *

Re: [Denemo-devel] new paste

2011-03-02 Thread Richard Shann
On Wed, 2011-03-02 at 16:30 +0100, Nils Gey wrote: > Hello Richard, > > I know the clipboard internals since I already wrote a working paste. Please > leave the measurebreaks and staffbreaks as they are for now, we need both. I certainly wasn't offering to change anything there without a very goo

Re: [Denemo-devel] new paste

2011-03-02 Thread Nils Gey
Hello Richard, I know the clipboard internals since I already wrote a working paste. Please leave the measurebreaks and staffbreaks as they are for now, we need both. It is possible to live without the staffbreak objects but it will make things more complicated. I had written a long story for

Re: [Denemo-devel] new paste

2011-03-02 Thread Richard Shann
There is more: Inside Denemo a clipboard (aka clip buffer, cut buffer...) *does* contain objects called MeasureBreaks, which are put there by the d-Copy call (and d-Cut which calls it). Where it places these objects it not known to me, especially what it does when copying measures with no objects.

Re: [Denemo-devel] new paste

2011-03-02 Thread Richard Shann
Inside Denemo a selection is represented by six numbers: first staff marked last staff marked first measure marked last measure marked first object marked last object marked the barlines you refer to are not denemo objects, they are display artifacts created by the display routines at the end of

Re: [Denemo-devel] new paste

2011-03-01 Thread Nils Gey
Still more thoughts: a) In Singlestaff selection it should be optional if the user selects a barline or not. So the user has the choice to select the first and/or the last barline in a selection. This can be exactly pasted as selected. b) In Multistaff selection the first and last barline should

Re: [Denemo-devel] new paste

2011-03-01 Thread Nils Gey
I'm sorry to revert that again. Forwardselection of barlines is only possible if followed by an empty measure. I request that selecting barlines is possible all the time. Otherwise paste has try to guess if the user wants a tailing measure break if he selects a complete measure. This will go wro

Re: [Denemo-devel] new paste

2011-03-01 Thread Nils Gey
I was wrong about not beeing able to select barlines when selecting from left to right. It is possible, just not visible. So my updated suggestion is to make selected barline and empty measures better visible. Nils On Mon, 28 Feb 2011 20:42:35 +0100 Nils Gey wrote: > hello list, > > I'm curr

Re: [Denemo-devel] new paste

2011-02-28 Thread Nils Gey
4) d-PutClipObj makes a playback sound. Please deactivate this. It also might be interesting to hear that this plays back the actual note plus the same note one octave higher. Maybe this happens somewhere else, too, where it would be wrong :) On Mon, 28 Feb 2011 20:42:35 +0100 Nils Gey wrote:

[Denemo-devel] new paste

2011-02-28 Thread Nils Gey
hello list, I'm currently rewriting paste to be better, faster and easier to maintain. 1) I need a function to get the number of staffs in the clipboard. We already have (d-ClipObjects staffnum) but staffcount is unknown to Scheme. 2) The drawing of an empty, selected measure is suboptimal. It