X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fslur-engraver.cc;h=2b3f5de296b666ba7eaca8dbb5971493e059a3a4;hb=e3a15ec3c1951dd16f6ee71fbd79870d9e2fb3a0;hp=9900ba713b48d086afdcdde7ba252232247a202b;hpb=70b3505301a5b3700158698d2cdabb8c60e8ed5e;p=lilypond.git diff --git a/lily/slur-engraver.cc b/lily/slur-engraver.cc index 9900ba713b..2b3f5de296 100644 --- a/lily/slur-engraver.cc +++ b/lily/slur-engraver.cc @@ -1,9 +1,20 @@ /* - slur-engraver.cc -- implement Slur_engraver + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 1997--2011 Han-Wen Nienhuys - (c) 1997--2007 Han-Wen Nienhuys + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ #include "engraver.hh" @@ -194,7 +205,7 @@ Slur_engraver::process_music () void Slur_engraver::stop_translation_timestep () { - if (Grob *g = unsmob_grob (get_property ("breakableSeparationItem"))) + if (Grob *g = unsmob_grob (get_property ("currentCommandColumn"))) { for (vsize i = 0; i < end_slurs_.size (); i++) Slur::add_extra_encompass (end_slurs_[i], g); @@ -224,10 +235,16 @@ ADD_ACKNOWLEDGER (Slur_engraver, text_script); ADD_ACKNOWLEDGER (Slur_engraver, tie); ADD_ACKNOWLEDGER (Slur_engraver, tuplet_number); ADD_TRANSLATOR (Slur_engraver, - /* doc */ "Build slur grobs from slur events", - /* create */ "Slur", + /* doc */ + "Build slur grobs from slur events.", + + /* create */ + "Slur ", + /* read */ "slurMelismaBusy " "doubleSlurs ", - /* write */ ""); + /* write */ + "" + );