X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fmulti-measure-rest-engraver.cc;h=39f9e1e063ee0c4da7296d7fd364bbefc8ff16fe;hb=ee5919c085b841bae3f4f323a5007321f660f47c;hp=c8ea549701b57a4537c7e4f387c632e278a05ca8;hpb=3ca3c192ce26488b14dc389f6ec5b1d3a5ef829d;p=lilypond.git diff --git a/lily/multi-measure-rest-engraver.cc b/lily/multi-measure-rest-engraver.cc index c8ea549701..39f9e1e063 100644 --- a/lily/multi-measure-rest-engraver.cc +++ b/lily/multi-measure-rest-engraver.cc @@ -1,8 +1,21 @@ /* - multi_measure_rest-engraver.cc -- implement Multi_measure_rest_engraver + This file is part of LilyPond, the GNU music typesetter. - (c) 1998--2007 Jan Nieuwenhuizen + Copyright (C) 1998--2010 Jan Nieuwenhuizen 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 "multi-measure-rest.hh" @@ -148,12 +161,13 @@ void Multi_measure_rest_engraver::stop_translation_timestep () { /* We cannot do this earlier, as breakableSeparationItem is not yet - there. */ + there. + + Actually, we no longer use breakableSeparationItem -- should this be moved? + -- jneem */ if (bar_seen_) { - Grob *cmc = unsmob_grob (get_property ("breakableSeparationItem")); - if (!cmc) - cmc = unsmob_grob (get_property ("currentCommandColumn")); + Grob *cmc = unsmob_grob (get_property ("currentCommandColumn")); /* Ugh, this is a kludge - need this for multi-measure-rest-grace.ly */ last_command_item_ = dynamic_cast (cmc); @@ -251,10 +265,12 @@ Multi_measure_rest_engraver::finalize () ADD_TRANSLATOR (Multi_measure_rest_engraver, /* doc */ - "Engraves multi-measure rests that are produced with @code{R}. Reads " - "@code{measurePosition} and @code{internalBarNumber} to determine what number to print " - "over the @ref{MultiMeasureRest}. Reads @code{measureLength} to determine if it " - "should use a whole rest or a breve rest to represent 1 measure ", + "Engrave multi-measure rests that are produced with" + " @samp{R}. It reads @code{measurePosition} and" + " @code{internalBarNumber} to determine what number to print" + " over the @ref{MultiMeasureRest}. Reads @code{measureLength}" + " to determine whether it should use a whole rest or a breve" + " rest to represent one measure.", /* create */ "MultiMeasureRest " @@ -264,9 +280,10 @@ ADD_TRANSLATOR (Multi_measure_rest_engraver, /* read */ "internalBarNumber " "restNumberThreshold " - "breakableSeparationItem " "currentCommandColumn " "measurePosition " "measureLength ", - /* write */ ""); + /* write */ + "" + );