source file of the GNU LilyPond music typesetter
- (c) 2001--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ (c) 2001--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
*/
#include "accidental-interface.hh"
if (to_boolean (me->get_property ("forced"))
|| !unsmob_grob (me->get_object ("tie"))
- || rank == start + 1) /* we are at the start of a line */
+ || (rank == start + 1 && /* we are at the start of a line */
+ !to_boolean (me->get_property ("hide-tied-accidental-after-break"))))
{
Stencil *s = unsmob_stencil (get_stencil (me));
if (s)
really close.
*/
Direction bulb_dir =
- glyph_name=="accidentals.mirroredflat" ? LEFT : RIGHT;
+ glyph_name == "accidentals.mirroredflat" ? LEFT : RIGHT;
stem[X_AXIS][bulb_dir] = stem[X_AXIS].center ();
/*
Grob *me = unsmob_grob (smob);
Grob *tie = unsmob_grob (me->get_object ("tie"));
- if (tie && !tie->original ()
- && !to_boolean (me->get_property ("forced")))
+ if (tie &&
+ (to_boolean (me->get_property ("hide-tied-accidental-after-break"))
+ || (!tie->original () && !to_boolean (me->get_property ("forced")))))
{
me->suicide ();
return SCM_EOL;
"alteration "
"avoid-slur "
"forced "
+ "glyph-name-alist "
+ "hide-tied-accidental-after-break "
"parenthesized "
"restore-first "
- "glyph-name-alist "
"tie "
);