Music * r = evs_[i];
// URG: Text vs TextScript
- Item *text = make_item ("TextScript");
+ Item *text = make_item ("TextScript", r->self_scm ());
Axis ax = Y_AXIS;
// Hmm
int priority = 200;
SCM s = text->get_property ("script-priority");
- if (ly_number_p (s))
+ if (ly_c_number_p (s))
priority = ly_scm2int (s);
/* see script-engraver.cc */
SCM mark = r->get_property ("text");
text->set_property ("text", mark);
- announce_grob (text, r->self_scm ());
texts_.push (text);
}
}
void
Text_engraver::stop_translation_timestep ()
{
- for (int i=0; i < texts_.size (); i++)
- {
- Item *ti = texts_[i];
- typeset_grob (ti);
- }
texts_.clear ();
evs_.clear ();
}