On 11/14/2014 04:36 PM, Ernesto Posse wrote:
When defining a style, is it possible to copy more than one style? If
so, are values overridden?
I think it probably isn't possible. I've had a quick look at the code,
and what CopyStyle does is
basically:
ThisStyle = ThatStyle
So if you do:
CopyStyle S1
CopyStyle S2
you just end up with a copy of S2.
I also think it's not really possible to fix this. The basic issue is
that every style defines every
possible style property, i.e., with some default value if none is
explicitly defined. So absolutely
every value gets over-written anyway. We could try setting some flag
that means "this got
defined explicitly" and only copy over those things, but sometimes the
default is what you
want (e.g., for the font).
Richard