source file of the GNU LilyPond music typesetter
- (c) 2004--2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ (c) 2004--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
*/
#include "pointer-group-interface.hh"
void
Ledger_line_engraver::process_music ()
{
+ /*
+ Need to do this, otherwise the first note might miss ledgers.
+ */
if (!span_)
start_spanner ();
}
if (span_)
{
span_->set_bound (RIGHT, unsmob_grob (get_property ("currentCommandColumn")));
+ Pointer_group_interface::set_ordered (span_, ly_symbol2scm ("elements"), false);
span_ = 0;
}
}
Spanner *sym = dynamic_cast<Spanner *> (s.grob ());
if (!span_
- || span_->get_bound (LEFT) != sym->get_bound (LEFT))
+ || (span_->get_bound (LEFT) != sym->get_bound (LEFT)
+ && sym->get_bound (LEFT)))
{
stop_spanner ();
start_spanner ();