lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Introduce markup-list-command table (issue 289980043 by address@hidd


From: thomasmorley65
Subject: Re: Introduce markup-list-command table (issue 289980043 by address@hidden)
Date: Mon, 01 Feb 2016 21:48:45 +0000

On 2016/01/30 23:32:17, dak wrote:


https://codereview.appspot.com/289980043/diff/1/scm/define-markup-commands.scm#newcode4783
scm/define-markup-commands.scm:4783: (split-lst lst columns '())))
We've had this a few times.  A markup-list? argument is not
necessarily a list
of markups.  It can also be a markup list command call.  The only
thing you can
reliably do before starting list processing is to call
interpret-markup-list on
the _whole_ markup-list argument.  Only _then_ can you start splitting
the
resulting list of stencils.

Thinking more about: it's not easily predictable how many stencils a
markup list command call will return.
Thus I extended the code, adding point-stencils to last row of the
table, if needed, i.e. if (pseudo-code)
(/ (length stencils) number-of-columns)
is not integer.



https://codereview.appspot.com/289980043/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]