lilypond-auto
[Top][All Lists]
Advanced

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

[Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5097 Fix prog


From: Auto mailings of changes to Lily Issues
Subject: [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5097 Fix programming errors associated with texted HorizontalBracket grobs
Date: Wed, 15 Mar 2017 12:55:53 +0000

Well, of course tweaking the text of the bracket grob will still cause the error/warning. But it would also stop appearing to work in spite of the warning. And tweaking thickness will not cause HorizontalBracketText to complain. So that's half of the warnings disappearing, and the other half of the warnings actually pointing out something going wrong.

The proposal was just supposed to make stuff behave more predictably, not more conveniently. Whether that's good enough is another question.

It would also be imaginable that HorizontalBracket gets the text interface and will have its text settings used for initializing those of HorizontalBracketText (unless overridden). That's a lot more handwavy but will probably generally work as expected.


[issues:#5097] Fix programming errors associated with texted HorizontalBracket grobs

Status: New
Created: Wed Mar 15, 2017 12:03 AM UTC by David Nalesnik
Last Updated: Wed Mar 15, 2017 12:31 PM UTC
Owner: nobody

HorizontalBracket and HorizontalBracketText are both created from the same event. Thus, a tweak of a property not possessed by both grobs (such as 'text or 'thickness) will result in a programming error, unless the tweak is directed at the correct grob.

Example:

\layout {
  \context {
    \Voice
    \consists "Horizontal_bracket_engraver"
  }
}

{
  c'' -\tweak text "foo" \startGroup d'' e'' f''\stopGroup
}

Sent from sourceforge.net because address@hidden is subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Testlilyissues-auto mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto

reply via email to

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