[Webkit-unassigned] [Bug 12551] New: Make public the API to WebViewEditingInMail

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 2 16:11:18 PST 2007


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

           Summary: Make public the API to WebViewEditingInMail
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit API
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: piet.webkit at yahoo.com
                CC: harrison at apple.com


I'm working on an application that needs to behave like Apple Mail when
composing a reply: if the user types Return inside the quoted message, the
quoted content is broken in two parts, the cursor is inserted in-between and
any character typed by the user is no longer part of the quoted content.

To implement this behavior, Apple Mail currently uses a category implemented in
WebView, called WebViewEditingInMail, that defines 4 methods, one of which is
_insertNewlineInQuotedContent which calls
insertParagraphSeparatorInQuotedContent. 

The problem is that WebViewEditingInMail is a private interface, part of
WebViewPrivate.h

Could you please make this interface public? Other editor applications might
benefit from it too.

Note: the method '_insertNewlineInQuotedContent' expects the quoted content to
be within a BLOCKQUOTE with TYPE="cite". While the developers of a generic
editor might appreciate being able to specify which elements should or should
not be broken on the user typing Return, I could very much live with this
limitation - no problem.


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