[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suppress continuing LyricHyphen under grace note at start of line (i
From: |
n . puttock |
Subject: |
Re: Suppress continuing LyricHyphen under grace note at start of line (issue4313047) |
Date: |
Mon, 28 Mar 2011 20:17:30 +0000 |
Hi Trevor,
I hope you don't mind the following late comments. :)
Cheers,
Neil
http://codereview.appspot.com/4313047/diff/1/input/regression/lyric-hyphen-grace.ly
File input/regression/lyric-hyphen-grace.ly (right):
http://codereview.appspot.com/4313047/diff/1/input/regression/lyric-hyphen-grace.ly#newcode15
input/regression/lyric-hyphen-grace.ly:15: \lyricmode {
remove (implicit in \addlyrics)
http://codereview.appspot.com/4313047/diff/1/lily/lyric-hyphen.cc
File lily/lyric-hyphen.cc (right):
http://codereview.appspot.com/4313047/diff/1/lily/lyric-hyphen.cc#newcode46
lily/lyric-hyphen.cc:46: if (Paper_column::when_mom
(bounds[LEFT]->get_column ()).grace_part () != Rational (0)
I think you could fold this into the existing code below:
if (bounds[LEFT]->break_status_dir ()
&& (Paper_column::when_mom (bounds[LEFT]).main_part ()
== Paper_column::when_mom (bounds[RIGHT]->get_column ()).main_part
()))
http://codereview.appspot.com/4313047/