Re: [jokosher-devel] Crash recovery dialog



Undo history has always persisted over saving. I believe infinite undo
history was one of the requirements in the original jonoedit spec[1].

And yes, undo *does* persist over crashing simply because when you
replay the recovery log, all the actions still register themselves with
the undo manager. There is one difference which relates to atomic undo
actions however. 

Currently if you add 5 instruments at once, and then hit undo, all 5
will disappear because this is an atomic action. But if you add 5
instruments, and then crash, after you recover you will have to hit undo
5 times to remove all instruments. Atomic actions don't remain atomic
over crashes, but I will probably figure out a way to solve this in the
future (likely not for this release though).

Laszlo

[1] http://wiki.lugradio.org/index.php/JonoEdit

On Mon, 2009-02-09 at 01:31 +0000, Stuart Langridge wrote:
> > This is done by writing each action performed to a log on disk
> > immediately after it is completed.
> 
> Wicked. :)
> 
> Does this mean that the undo history persists over crashing and saving?
> 
> sil
> _______________________________________________
> jokosher-devel-list mailing list
> jokosher-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/jokosher-devel-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]