[Webkit-unassigned] [Bug 12461] Need API to clear WebView's undo actions from undo manager

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 29 12:24:43 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12461





------- Comment #3 from jim.correia at pobox.com  2007-01-29 12:24 PDT -------
(In reply to comment #2)
> This is a dumb question, but can't you just create a new undo manager to
> "clear" the undo history?
> 
> How is this bug related to Bug 12462?

The bug isn't related to 12462 as they solve different problems. (I answered in
more detail there.)

I can't just create a new undo manager to clear the history because the undo
manager is associated with the window, and other views and model objects may
have registered actions with the undo manager which need to persist.

This is not unlike NSTextView when used as a field editor or in bindings mode.
(Though it does this through an SPI, which presents a similar problem, but that
one is logged in radar.)


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list