On Fri, 01 Sep 2006 10:43:51 +0200 Helge Hafting <[EMAIL PROTECTED]> wrote:
> Martin Vermeer wrote: > > On Wed, 30 Aug 2006 14:31:05 +0200 Helge Hafting > <[EMAIL PROTECTED]> > > wrote: > > > > > > ... > > 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 problem is the creation of "enumerate inside enumerate", > and similar for other things nesting effects, such as bullets > and all of the numbered stuff (sectioning, captions, . . . ) > This is what must be avoided, and there are two simple ways: > > When something (branch, box, etc) is inserted so that a list > paragraph is "split" (i.e. we get a list environment both > on the outside and the inside) then one of those > list environments must be reset to standard. This will avoid the > surprise nesting in all cases. > > Then to consider what environment (outer or inner) to reset. > > Turning the inside of the box to "standard" always: > Perfect for my particular case, but will wreck lists in > your case of marking several items. ... My proposal is to do this, but reset *only the first paragraph* inside the inset to standard. I think this covers (almost) all bases and should be a simple point fix. This should be implemented at the point where, when inserting a textinset with the selection active, the selection is moved to a buffer. I would tell you where that is, but I am writing this on an 3x8 cm "soft keybord" of my Nokia 770 from my WLAN-enabled hotel room in Istanbul... somebody else will have to do this. Juergen? - Martin enabled hotel in ...