void
Global_context::run_iterator_on_me (Music_iterator *iter)
{
  prev_mom_.set_infinite (-1);
  now_mom_.set_infinite (-1);
  Moment final_mom = iter->get_music ()->get_length ();


I would do this Q&D by overwriting the 'length property of the top
music expression, which will be still a lot faster.


On Thu, Oct 9, 2008 at 6:45 PM, Valentin Villenave
<[EMAIL PROTECTED]> wrote:
> 2008/10/8 Valentin Villenave <[EMAIL PROTECTED]>:
>
>> Here's a patch to music-functions.scm in order to add the
>> showFirstLength property that many LilyPonders (well, myself at least
>> :-) need. It also updates the documentation, and the relevant regtest.
>
> Here's a better version of the same patch, as it allows both
> showLastLength and showFirstLength to be set at the same time (in case
> you'd want to check both the beginning and the end of your score :-)
>
> Cheers,
> Valentin
>
> _______________________________________________
> lilypond-devel mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/lilypond-devel
>
>



-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to