X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fscript-engraver.cc;h=f460892c138124322ee6b6d3ea817b711a50caa7;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=f16bf4542aea921d9665dc6775b0d38a51c4e69e;hpb=fed17faf36b3e663464b749e6127d09c6f786480;p=lilypond.git diff --git a/lily/script-engraver.cc b/lily/script-engraver.cc index f16bf4542a..f460892c13 100644 --- a/lily/script-engraver.cc +++ b/lily/script-engraver.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2006 Han-Wen Nienhuys + (c) 1997--2008 Han-Wen Nienhuys */ #include "engraver.hh" @@ -81,7 +81,7 @@ copy_property (Grob *g, SCM sym, SCM alist) { SCM entry = scm_assoc (sym, alist); if (scm_is_pair (entry)) - g->internal_set_property (sym, scm_cdr (entry)); + g->set_property (sym, scm_cdr (entry)); } } @@ -99,7 +99,7 @@ make_script_from_event (Grob *p, Context *tg, if (art == SCM_BOOL_F) { /* FIXME: */ - warning (_ ("don't know how to interpret articulation: ")); + warning (_ ("do not know how to interpret articulation: ")); warning (_ ("scheme encoding: ")); scm_write (art_type, scm_current_error_port ()); message (""); @@ -133,7 +133,7 @@ make_script_from_event (Grob *p, Context *tg, SCM preset = p->get_property_data (sym); if (val == SCM_EOL || scm_call_1 (type, preset) == SCM_BOOL_F) - p->internal_set_property (sym, val); + p->set_property (sym, val); } if (!priority_found) @@ -141,8 +141,6 @@ make_script_from_event (Grob *p, Context *tg, p->set_property ("script-priority", scm_from_int (index)); } - - Side_position_interface::set_axis (p, Y_AXIS); } void @@ -243,8 +241,15 @@ ADD_ACKNOWLEDGER (Script_engraver, note_column); ADD_ACKNOWLEDGER (Script_engraver, stem_tremolo); ADD_TRANSLATOR (Script_engraver, - /* doc */ "Handles note scripted articulations.", - /* create */ "Script", - /* accept */ "script-event articulation-event", - /* read */ "scriptDefinitions", - /* write */ ""); + /* doc */ + "Handle note scripted articulations.", + + /* create */ + "Script ", + + /* read */ + "scriptDefinitions ", + + /* write */ + "" + );