]> git.donarmstrong.com Git - lilypond.git/commit - lily/music-iterator.cc
Issue 3797: Music_wrapper_iterator does not follow original context setting of child
authorDavid Kastrup <dak@gnu.org>
Sat, 11 Jan 2014 13:08:55 +0000 (14:08 +0100)
committerDavid Kastrup <dak@gnu.org>
Sat, 18 Jan 2014 14:36:58 +0000 (15:36 +0100)
commita39e6a5eade9e61bf4edf6f21f60dee82ee08fb0
treeb5155705ad0e43635c6bedcd8f73f885c3e122ba
parent643e6b2322f7091cde05b7add4903634c661cf0e
Issue 3797: Music_wrapper_iterator does not follow original context setting of child

We do this by making Music_iterator::get_handle and
Music_iterator::set_context virtual and letting Music_wrapper_iterator
redirect them to the child iterator.

\score {
  <<
    { { a4 a b b } a a b b }
    { \absolute { a4 a b b } a a b b }
  >>
}

splits off a new Staff after \absolute { a4 a b b }.
lily/include/music-iterator.hh
lily/include/music-wrapper-iterator.hh
lily/music-iterator.cc
lily/music-wrapper-iterator.cc