[Webkit-unassigned] [Bug 12462] New: Need -[WebView setAllowsUndo:] API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 29 11:32:42 PST 2007


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

           Summary: Need -[WebView setAllowsUndo:] API
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Enhancement
          Priority: P2
         Component: WebKit API
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jim.correia at pobox.com


I have a webview in which editing actions should *not* be undoable. 

Returning nil from the delegate method:

    - (NSUndoManager *)undoManagerForWebView:(WebView *)webView;

is not sufficient to prevent undo registration, since the web view will still
"find" the window's undo manager (which is used by other views in the window.)

NSTextView solves this problem with

-allowsUndo
-setAllowsUndo

Path attached which implements this.


-- 
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