]> git.donarmstrong.com Git - lilypond.git/commit
Search of context hierarchy for voice for lyrics is optional
authorTrevor Daniels <t.daniels@treda.co.uk>
Fri, 8 Apr 2011 07:26:15 +0000 (08:26 +0100)
committerTrevor Daniels <t.daniels@treda.co.uk>
Fri, 8 Apr 2011 07:26:15 +0000 (08:26 +0100)
commit4133b4e0ec939a427a70361ad838c65a84a0dfda
treee957faf88667a139efc2a444e548616a7c3c8492
parent5e9d7b07e1da12e32ae7be0253b22cb28cf2fe58
Search of context hierarchy for voice for lyrics is optional

 - add new context property, searchForVoice, to indicate
   whether the extended search for a voice containing lyric
   rhythms should be conducted

 - fixes 1579

 * lily/lyric-engraver.cc

   test searchForVoice in get_voice_to_lyrics () to decide
   whether to conduct an extended search

 * ly/engraver-init.ly

   set default value of searchForVoice to #f

   (also in passing remove duplicated instrumentname
    and shortInstrumentName settings)

 * scm/define-context-properties.scm

   add and document searchForVoice
lily/lyric-engraver.cc
ly/engraver-init.ly
scm/define-context-properties.scm