[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Make Grid take an edit id
From: |
Valentin Petzel |
Subject: |
Re: Make Grid take an edit id |
Date: |
Sun, 02 Jan 2022 09:20:46 +0100 |
Sorry, that was not meant that way. This was intended to demonstrate the
usefulness of having such an id for the line, no matter if it is a separate
property or a value of details.
(Having one id property for all grobs does seem reasonable.)
About the other thing: It gets more complicated for both the implementation
and the user. For example in a situation where the number of encompassed
Staves is not fixed, e.g. when Staves are added or removed during the music (as
shown in the appendend very bad example) the context name based approach is
rather complicated, as for each change to the staves we’d need to create a new
grid. Instead with an id based approach it is sufficient to do something like
\startGrid id moment
for each staff in the place it is needed and
\stopGrid id
once we want to take the staff out of the grid.
Cheers,
Valentin
grid-lines.ly
Description: Text Data
signature.asc
Description: This is a digitally signed message part.