On Thu, Aug 31, 2006 at 09:41:55PM +0300, Martin Vermeer wrote:
> This problem is much more genersl than branches. It was reported
> earlier on the list: selecting text in a itemise/enum pararaph, and
> inserting a textinset around it, will produce a item/enum paragraph
> inside the inset.
> 
> I agree it needs fixing, but how? This is sensible behaviour when
> putting an nset around several item/enum paras. But not in this case.
> 
> How to make the distinction and produce sensible behaviour in both
> (all) cases?

The only way I can see is to cut the 1:1 relationship between a
paragraph and its layout and rather consider a layout as some kind of
container that holds a paragraph (or actually any number of them).

So depending on whether you select the whole container or just the
paragraph inside the new inset will either hold a container (i.e.
changes layout) or just the paragraphs.

It's pretty much the boxes-in-boxes philosophy that would also cure a
few other problems as e.g. the 'paragraph deeper' stuff, but which also
will be difficult to get right wrt cursor movement.

Andre'

Reply via email to