On Sat, 2006-07-15 at 13:56 +0200, Juergen Spitzmueller wrote:
> Martin Vermeer wrote:
> > I used to have a patch for this in my tree... 
> 
> You know, I would have betted on that ;-)
> 
> > backspace on first position 
> > inside the inset "dissolves" the inset, just like in math.
> 
> Hm, why not. Do you also have an lfun for that? I think it could be useful 
> especially for charstyle insets.
> 
> > If there's any interest, I could hunt for it.

Unfortunately I was unsuccessful. At the time it was more like a
demonstration-of-principle in connection with Bennett's speed problems
(with a function like this available he could conveniently edit the
contents of insets "as main text" and I wouldn't have to speed up the
rendering of such insets). This was deemed not the right approach and
apparently I didn't bother to save it properly.

It isn't hard to do though: in the collapsable inset's dispatch routine,
just detect the situation, select and cut the inset's content, pop out
left, delete, and insert the select buffer. Twenty LOC max.

- Martin

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to