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 23:16:34 -0700
Message-ID: <CABNRm60TBiae7vH1V1inADBRA8gc7K4X_60mS8eu+_ry8VLN+Q@mail.gmail.com>
On Tue, Aug 9, 2011 at 3:36 PM, Jonas Sicking <jonas at sicking.cc> wrote:
> I do definitely agree that making the reapply function optional helps
> a lot in that at least pages don't have to worry about the feature if
> they're not using it. If we do that though we should probably rename
> the 'apply' property for managed transactions since it's semantics are
> pretty different. 'apply' for managed transactions are only called
> once when the transaction is first added. 'apply' for manual
> transactions are potentially called every time the transaction is
> (re)applied.

I've updated the proposal per discussions so far.  I've kept apply, unapply,
& reapply attributes and made reapply optional:

I'm going to keep those names for now since none of us have come up with a
better name yet.  For what's worth, those are exact names WebKit's

- Ryosuke
Received on Tuesday, 9 August 2011 23:16:34 UTC

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