+ if (text_
+ && !text_->get_parent (X_AXIS)
+ && (text_->get_property_data (ly_symbol2scm ("break-align-symbol"))
+ == s->get_property_data (ly_symbol2scm ("break-align-symbol")))
+ && Axis_group_interface::has_interface (s))
- TODO: make this configurable. RehearsalMark cannot be
- break-aligned, since the width of the object should not be taken
- into alignment considerations.
+ RehearsalMark cannot be break-aligned, since the width of the
+ object should not be taken into alignment considerations.
- SCM lst = get_property ("stavesFound");
- text_->set_object ("side-support-elements", lst);
+ text_->set_object ("side-support-elements",
+ grob_list_to_grob_array (get_property ("stavesFound")));
"It puts them on top of all staves (which is taken from "
"the property @code{stavesFound}). If moving this engraver "
"to a different context, "
"@ref{Staff_collecting_engraver} must move along, otherwise all marks"
"end up on the same Y-location",
"It puts them on top of all staves (which is taken from "
"the property @code{stavesFound}). If moving this engraver "
"to a different context, "
"@ref{Staff_collecting_engraver} must move along, otherwise all marks"
"end up on the same Y-location",
- /* creats*/ "RehearsalMark",
- /* accepts */ "mark-event",
- /* reads */ "rehearsalMark markFormatter stavesFound",
+
+ /* create */ "RehearsalMark",
+ /* accept */ "mark-event",
+ /* read */
+ "markFormatter "
+ "rehearsalMark "
+ "stavesFound ",
+