W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2011

[whatwg] Fixing undo on the Web - UndoManager and Transaction

From: Ryosuke Niwa <rniwa@webkit.org>
Date: Tue, 9 Aug 2011 00:42:09 -0700
Message-ID: <CABNRm63o4P9ztWeJBzdYrzX8=PhQTGxig2_Y_KG8w2Dx7OTnOA@mail.gmail.com>
On Tue, Aug 9, 2011 at 12:31 AM, Jonas Sicking <jonas at sicking.cc> wrote:

> I still see UndoManager.replace in there. I still haven't heard any use
> cases that won't be solved better with a beforeEditingAction event (and
> solved ok simply using the undo() function until we have a
> beforeEditingAction standardized).
>

Right. I think we should remove it but I wanted to go talk with a bunch of
developers first so they're still pending.

Likewise I still haven't heard of any examples where the apply function
> isn't simply init+reapply. So it still seems better to me to have a
> init/apply/unapply split rather than a apply/reapply/unapply split.
>

This is also pending for developer feedback.

- Ryosuke
Received on Tuesday, 9 August 2011 00:42:09 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:35 UTC