On 06/20/2016 11:03 PM, Jean-Marc Lasgouttes wrote:
Le 20/06/2016 17:34, Richard Heck a écrit :
At the moment, it is possible to effect a layout change inside almost
all of our character styles. So far as I can see, this is almost always
a bug. One does not want, e.g., to be able to switch to an enumeration
inside the Code character style. So I propose the following simple
patch:
I would agree with this change, which should be properly documented.
I also think that in this case the layout change should be done in the
outer paragraph. After all, this is what happens in a math inset.
Yes, that could be done---and racoon suggested the same thing---but then
I worry it will be misleading. You could change a layout and have it
only affect a paragraph any number of embeddings up. It's also hard to
see how this works with the combo box. Surley (?) we want that still to
display "Plain Layout" in an inset with ForcePlain on. But then you
could use it to change to some other layout, and yet it still shows
"Plain Layout". Or do you propose it displays the layout of the
containing paragraph that has a layout? This again seems potentially
confusing.
Richafd