- if (Side_position::get_axis (e) == X_AXIS
- && !e->parent_l (Y_AXIS))
- e->set_parent (inf.elem_l_, Y_AXIS);
+ Side_position_interface::add_support (e,inf.grob_);
+ }
+ }
+ else if (Note_column::has_interface (inf.grob_))
+ {
+
+ /*
+ We make note column the parent of the script. That's not
+ correct, but due to seconds in a chord, noteheads may be
+ swapped around horizontally. We don't know which note head to
+ put it on, so we postpone this decision to
+ Script_interface::before_line_breaking ().
+
+ */
+ for (int i=0; i < scripts_.size (); i++)
+ {
+ Grob *e = scripts_[i];