On Thu, Dec 12, 2024 at 8:48 AM Werner LEMBERG <w...@gnu.org> wrote:

> > Actually, the descriprion is wrong, imho.
> >
> >   (bracket-text ,ly:grob? "The text for an analysis bracket.")
> >
> > should become something at he lines of:
> >
> >   (bracket-text ,ly:grob? "The text-grob for an analysis bracket.")
>
> I plan to change the docstring to
>
>   A pointer to the text grob of an analysis bracket.
>
> >> Can you please give an example how to use it (or a link to
> >> something similar)?
> >
> > I took horizontal-bracket-texted.ly from our regtests and added
> > functionality in \layout to emphasize some brackets with thickness
> > and color relying on the 'text.  [...]
>
> Thanks a lot!
>
> >> As mentioned earlier, neither `bracket-text` nor `pedal-text` are
> >> used anywhere in the code.
> >
> > Well, yes. Though if you go through those internal properties then you
> > will notice that a plethora of them are not used in the .scm-files.
> > Some examples:
> > accidental-grobs
> > all-elements
> > concurrent-hairpins
> > ...
>
> I now wonder whether it make sense to orthogonalize the property names
> (to a certain extent).  For example, I can imagine that all properties
> that are pointers to grobs have a final `-grob` or `-grobs` in their
> names.  Thus:
>
>   bracket-text-grob
>   all-element-grobs
>   concurrent-hairpin-grobs
>   ...
>

+1

-- 
Trevor Bača
www.trevorbaca.com
soundcloud.com/trevorbaca

Reply via email to