[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Denemo-devel] new paste
From: |
Nils Gey |
Subject: |
[Denemo-devel] new paste |
Date: |
Mon, 28 Feb 2011 20:42:35 +0100 |
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 looks like the
beginning of the next right measure is selected.
3) If you select backwards it is possible to select a leading barline which is
a) not possible if you select forward b) not shown in the selection-drawing.
This is confusing but not directly related to paste. The old, current, paste
has some tests to ignore those leading barlines but this is not necessary at
all. If the user copies a barlines it gets pasted, simple as that. But at least
the selection must be shown. I have no opinion about removing the possibility
to select leading barlines, or allowing it for a forward selection or leaving
it as is, I leave that to someone other to decide. It makes no difference to
the user and to paste.
Nils
PS. to Richard:
You said "I notice d-StaffUp extends selection...". This is just correct. If
you don't want a selection use d-MoveToStaffUp.
- [Denemo-devel] new paste,
Nils Gey <=