]> git.donarmstrong.com Git - lilypond.git/commit
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, 15 Feb 2014 18:13:47 +0000 (19:13 +0100)
commit536cad5ac3c8518d6ab738e04aad9aee9804e691
treeefb4aea10e127b4228688e86ad6a6aae90c51ad2
parentdaf7dd75bf8f5927b15fbaae98aec2a1065dcc7b
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