]> git.donarmstrong.com Git - lilypond.git/commit - lily/extender-engraver.cc
Fixes issue 786, "Extenders in lyrics stop prematurely if a single underscore is...
authorChris Snyder <csnyder@adoromusicpub.com>
Fri, 13 Nov 2009 20:11:24 +0000 (20:11 +0000)
committerNeil Puttock <n.puttock@gmail.com>
Fri, 13 Nov 2009 20:14:39 +0000 (20:14 +0000)
commit603b4e68a99c363b0b23e8247f65cdc3caf2b18f
tree4a9ed6d04a6ac7d2344c6b13510535b42e52f425
parent071453b302c30541d28c7397e1dd335366961eaa
Fixes issue 786, "Extenders in lyrics stop prematurely if a single underscore is found."

This commit changes the lyrics engraver to create LyricText objects
even for empty lyrics (underscores). This change is necessary because
the old behavior (pre-7531ea6b3 commit) relied on extenders continuing
until the presence of another lyric syllable, which was not always the case.
That commit changed the behavior to completize extenders when no more lyrics
were present, which fixed the neverending-extender bug but introduced the
extenders-stopping-prematurely bug.

By adding the empty LyricText objects, the extender engraver can now tell the
difference between melismas and the end of a block of lyrics.
lily/extender-engraver.cc
lily/hyphen-engraver.cc
lily/lyric-engraver.cc