denemo-devel
[Top][All Lists]
Advanced

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

[Denemo-devel] Display problem after undo (script inside)


From: Nils Gey
Subject: [Denemo-devel] Display problem after undo (script inside)
Date: Sat, 29 Jan 2011 01:18:04 +0100

You have to manually execute this script in two steps, else the undo guards 
will show nothing because they treat the script as one.
1) After executing you will see that the display calculating is off. 
2) After undo you see that the upbeat display directive changed into 
"delete-xxxx", undo seems not to be able to undo display directive changes for 
standalone directives. Background: DeleteSelection/IntelligentDelete uses the 
display directive as tag to identify which to delete (remember: Deleting an 
object destroys the selection, but placing a directive does not. If you want to 
delete a selection you have to create alternative selection from these tags and 
delete in a second loop.)


; First Part
(d-NotationMagick-TwelveToneRow)
(d-AddAfter)
(d-NotationMagick-TwelveToneRow)
(d-AddAfter)
(d-NotationMagick-TwelveToneRow)
(d-MoveToMovementBeginning)
(d-MoveCursorRight)
(SplitChord 3)
(d-MoveToStaffDown)
(d-MoveToMeasureRight) (d-MoveToMeasureRight)
(d-MoveCursorRight)(d-MoveCursorRight)
(SplitChord 5)
(d-MoveToStaffDown)
(d-MoveToBeginning)
(d-DeleteObject)
(d-Upbeat)
(d-SelectAllStaffs)

Second Part ; there is no comment here on purpose. Don't run this script as one!
(d-IntelligentDelete)
(d-Undo)



reply via email to

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