Re: [Patch] Re: Undo/math debugging

2006-04-17 Thread Martin Vermeer
On Thu, 2006-04-13 at 11:42 +0300, Martin Vermeer wrote: > * math_nestinset.C > (MathNestInset::doDispatch): replace recordUndo by recordUndoInset for > LFUN_DELETE, to fix undo behaviour Now it's in 1.4.x too - Martin signature.asc Description: This is a digitally signed

Re: [Patch] Re: Undo/math debugging

2006-04-13 Thread Martin Vermeer
On Thu, 2006-04-13 at 10:04 +0200, Georg Baum wrote: > Martin Vermeer wrote: > > > I haven't been able to crash LyX due to this... just fixIfBroken cursor > > errors. > > And of course wrong state after undo. Yes... but only missing empty cells IIUC. Wrong, but not disastrous. Committed to trun

Re: [Patch] Re: Undo/math debugging

2006-04-13 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Martin Vermeer wrote: >> I haven't been able to crash LyX due to this... just fixIfBroken >> cursor errors. Georg> And of course wrong state after undo. Then it should go in. JMarc

Re: [Patch] Re: Undo/math debugging

2006-04-13 Thread Georg Baum
Martin Vermeer wrote: > I haven't been able to crash LyX due to this... just fixIfBroken cursor > errors. And of course wrong state after undo. Georg

Re: [Patch] Re: Undo/math debugging

2006-04-13 Thread Martin Vermeer
On Thu, 2006-04-13 at 09:42 +0200, Jean-Marc Lasgouttes wrote: > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > >> Correction: the problem is not with undo (wrongly accused ;-/ ) but > >> with the way the various record methods are used in math. NestInset > >> is not aware that D

Re: [Patch] Re: Undo/math debugging

2006-04-13 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: >> Correction: the problem is not with undo (wrongly accused ;-/ ) but >> with the way the various record methods are used in math. NestInset >> is not aware that Delete does some special things inside a math >> grid. >> >> The attached

[Patch] Re: Undo/math debugging

2006-04-12 Thread Martin Vermeer
On Sun, Apr 09, 2006 at 11:35:08AM +0300, Martin Vermeer wrote: > On Sun, Apr 09, 2006 at 10:36:15AM +0300, Martin Vermeer wrote: > > > > The following can probably be exploited to debug Undo's problems in > > mathed: > > > > 1) Insert a math inset with a 2x2 math array inside. > > 2) Place the c