denemo-devel
[Top][All Lists]
Advanced

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

[Denemo-devel] Paste again


From: Nils Gey
Subject: [Denemo-devel] Paste again
Date: Sat, 22 May 2010 14:39:44 +0200

Hello, 

I checked in a better Paste variant. 

; Multistaff-Pasting always adds the complete part AFTER the current measure. 
It will never paste into an existing measure, not even in empty ones.   [<-- 
this is a possible enhancement, but it needs a way to check if there is an 
empty measure in all staffs. Just thought of that...]

; Singlestaff-Pasting happens at the cursor position. If there are still notes 
in the current measure, after the cursor position, those will be shoved to the 
right and placed after the pasted section, no matter if the result produce 
underful or overful measures. No other measure gets modified other than the 
current one. Singlestaff-Pasting will fill any empty measure on its way, until 
a non-empty one is encountered.

I think this is a candidate that can be used. If you want, try to create a few 
absurd usecases and look how Paste reacts to them.

Also please test if paste now behaves like you would expect it to do (and what 
are your expectations? Sibelius, Emacs or Vim, Other Texteditors, Photoshop?)

Also, there are four scripts that use (d-Paste)
./actions/menus/ObjectMenu/MeasureMenu/AddDuplicateMeasure
./actions/menus/ObjectMenu/MeasureMenu/DeleteBarline
./actions/menus/ObjectMenu/MeasureMenu/SplitMeasure
./actions/menus/ObjectMenu/MeasureMenu/ReBar (OLD VERSION!)

Is (d-Paste) the trigger for the built-in variant or for the script?  If its 
for the script:
(d-SplitMeasure) makes use of (d-Paste), but paste also uses (d-SplitMeasure). 
I don't know what that recursion means, but it seems to work.


I hope that improves Denemo,

Nils 









reply via email to

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