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

[whatwg] Feedback on UndoManager spec

From: Jonas Sicking <jonas@sicking.cc>
Date: Wed, 30 Nov 2011 18:32:57 -0800
Message-ID: <CA+c2ei9ZWeCwvjiNNSPL5eW6H4Uf1R4eCzfBKoeiv4vtmTMM=w@mail.gmail.com>
On Wed, Nov 30, 2011 at 6:00 PM, Ryosuke Niwa <rniwa at webkit.org> wrote:
> On Wed, Nov 30, 2011 at 5:38 PM, Jonas Sicking <jonas at sicking.cc> wrote:
>> I actually think it's actively bad to converge on having the same
>> interface for automatic and manual transaction. The two work in
>> dramatically different ways. The code that goes into the "apply"
>> function of a automatic transaction has dramatically different meaning
>> than the code that goes into the "apply" function for a manual
>> transaction since the UA records the actions of the former and stores
>> them away.
> Okay. I'm actually renaming apply, unapply, reapply to execute, undo, and
> redo. So how about "automaticExecute"?

Works for me. (I don't care that strongly about the actual names, as
long as they are different between the two types).

/ Jonas
Received on Wednesday, 30 November 2011 18:32:57 UTC

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