]> git.donarmstrong.com Git - lilypond.git/commit - lily/quote-iterator.cc
Use different types of events for cueDuring and quoteDuring
authorReinhold Kainhofer <reinhold@kainhofer.com>
Mon, 28 Dec 2009 13:34:33 +0000 (14:34 +0100)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Mon, 28 Dec 2009 14:05:46 +0000 (15:05 +0100)
commit11cba325e71f6c1bc720ae79d43739130a5f83ae
tree6ec78698bd00a61fae950eb60ac40f36c07c3ad5
parentd17c6f3f7e7739da4c574892fabc0f0699fc8fb4
Use different types of events for cueDuring and quoteDuring

Typically, \quoteDuring is supposed to duplicate everything in a voice,
while \cueDuring is supposed to only quote the notes, but not e.g.
phrasing, slurs, accents, markup, etc.

So, this commit adds an additional property quotedCueEventTypes in
addition to quotedEventTypes, which allows to quote different types
for \cueDuring than for \quoteDuring.

By default, \quoteDuring now quotes everything (i.e. StreamEvent), while
\cueDuring quotes only notes, rest, ties, beams and tuplets.

Also document the difference between cue/quoteDuring and how to
selected the quoted event types
Documentation/notation/staff.itely
input/regression/quote-cue-event-types.ly [new file with mode: 0644]
lily/quote-iterator.cc
ly/engraver-init.ly
scm/define-context-properties.scm