[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Denemo-devel] [bug #27968] Split measure-fix
From: |
anonymous |
Subject: |
[Denemo-devel] [bug #27968] Split measure-fix |
Date: |
Tue, 17 Nov 2009 17:52:33 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 |
Follow-up Comment #5, bug #27968 (project denemo):
Just to prevent the problem described in comment #3 with this script in the
next version, root/actions/menus/ObjectMenu/MeasureMenu/SplitMeasure should be
modified to use the new commands. Not being able to test them to check their
behavior, here's my best guess:
(d-SetMark)
(if (d-MeasureRight)
(begin (d-CursorLeft)
(d-Cut)
(d-CursorRight)
(d-InsertMeasureBefore)
)
(begin
(d-GoToEnd)
(d-Cut)
(d-InsertMeasureAfter)
(d-MeasureRight)
)
)
(d-Paste)
The changes are in the (d-InsertMeasureBefore) and (d-InsertMeasureAfter)
commands. As long as InsertMeasureBefore puts the cursor into the newly
inserted measure, and the two new commands only affect one staff,I think this
will work properly. If InsertMeasureBefore doesn't put the cursor into the
new measure, probably (d-MeasureLeft) right after (d-InsertMeasureBefore)
should give the right behavior.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?27968>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/