]> git.donarmstrong.com Git - lilypond.git/commit
PartCombine: part-combine texts on first real note rather than rests
authorReinhold Kainhofer <reinhold@kainhofer.com>
Wed, 24 Nov 2010 23:40:17 +0000 (00:40 +0100)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Fri, 26 Nov 2010 15:22:48 +0000 (16:22 +0100)
commitf0f0f0648b63a1ce156cf9634f043a046384a182
tree2894f58caf96a933bd484c4b2ae3939a530273cc
parent1a795132908c1a1d3717da023c2853c551ea4b6f
PartCombine: part-combine texts on first real note rather than rests

-) If the context property partCombineTextsOnNote is set, the part-combine
   texts are not printed immediately if there is a rest or skip, but on
 the next following note. If the voice contains a note, they are printed
 immediately.
 This is needed if one voice has a full measure rest and the other e.g.
 r2 r4 c4.
-) The event triggering the part-combine text is cached in that case
   and the Part_combine_engraver now also listens to note events. The
 texts are then created at the first moment when a note is encountered.
input/regression/part-combine-text-wait.ly [new file with mode: 0644]
lily/part-combine-engraver.cc
ly/engraver-init.ly
scm/define-context-properties.scm