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

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

From: Jonas Sicking <jonas@sicking.cc>
Date: Tue, 9 Aug 2011 00:31:23 -0700
Message-ID: <CA+c2ei8_m7rmmeHwyLv8G2hxD_3jnwixSem7xGFKQNMBtQOLbQ@mail.gmail.com>
On Mon, Aug 8, 2011 at 11:22 PM, Ryosuke Niwa <rniwa at webkit.org> wrote:
> Hi everyone,
> I have updated my document on http://rniwa.com/editing/undomanager.html to
> address all responses I've got so far.

Hmm.. what changes did you make to the document? 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

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

/ Jonas
Received on Tuesday, 9 August 2011 00:31:23 UTC

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