/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 1999--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 1999--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
if (Item *item = dynamic_cast<Item *> (inf.grob ()))
{
/*
- Removed check for item->empty (X_AXIS). --hwn 20/1/04
+ Removed check for item->empty (X_AXIS). --hwn 20/1/04
*/
if (item->get_parent (X_AXIS))
- return;
+ return;
if (!Item::is_non_musical (item))
- return;
+ return;
SCM align_name = item->get_property ("break-align-symbol");
if (!scm_is_symbol (align_name))
- return;
+ return;
if (!align_)
- create_alignment (inf);
+ create_alignment (inf);
add_to_group (align_name, item);
}
*/
left_edge_ = random_source->make_item ("LeftEdge", SCM_EOL);
add_to_group (left_edge_->get_property ("break-align-symbol"),
- left_edge_);
+ left_edge_);
}
void
ADD_ACKNOWLEDGER (Break_align_engraver, break_aligned);
ADD_ACKNOWLEDGER (Break_align_engraver, break_alignable);
ADD_TRANSLATOR (Break_align_engraver,
- /* doc */
- "Align grobs with corresponding @code{break-align-symbols}"
- " into groups, and order the groups according to"
- " @code{breakAlignOrder}. The left edge of the alignment gets"
- " a separate group, with a symbol @code{left-edge}.",
-
- /* create */
- "BreakAlignment "
- "BreakAlignGroup "
- "LeftEdge ",
-
- /* read */
- "",
-
- /* write */
- ""
- );
+ /* doc */
+ "Align grobs with corresponding @code{break-align-symbols}"
+ " into groups, and order the groups according to"
+ " @code{breakAlignOrder}. The left edge of the alignment gets"
+ " a separate group, with a symbol @code{left-edge}.",
+
+ /* create */
+ "BreakAlignment "
+ "BreakAlignGroup "
+ "LeftEdge ",
+
+ /* read */
+ "",
+
+ /* write */
+ ""
+ );