WebCore:
Reviewed by Chris
* khtml/editing/htmlediting.cpp:
(khtml::CompositeEditCommand::deleteSelection): Added new mergeBlocksAfterDelete flag to control
whether content not in the block containing the start of the selection is moved to that block
after the selection is deleted.
(khtml::DeleteSelectionCommand::DeleteSelectionCommand): Ditto.
(khtml::DeleteSelectionCommand::doApply): Ditto.
(khtml::InputNewlineInQuotedContentCommand::InputNewlineInQuotedContentCommand): New command
to handle the case of inserting a newline when in quoted content in Mail.
(khtml::InputNewlineInQuotedContentCommand::~InputNewlineInQuotedContentCommand): Ditto.
(khtml::InputNewlineInQuotedContentCommand::isMailBlockquote): Ditto.
(khtml::InputNewlineInQuotedContentCommand::isLastVisiblePositionInBlockquote): Ditto.
(khtml::InputNewlineInQuotedContentCommand::doApply): Ditto.
(khtml::TypingCommand::insertNewlineInQuotedContent): Support for new newline command.
(khtml::TypingCommand::doApply): Ditto.
(khtml::TypingCommand::preservesTypingStyle): Ditto.
* khtml/editing/htmlediting.h: Add new delclarations.
(khtml::TypingCommand::): Ditto.
* kwq/WebCoreBridge.h: Added new bridge method called from WebKit.
* kwq/WebCoreBridge.mm:
(-[WebCoreBridge insertNewlineInQuotedContent]): Ditto.
WebKit:
Reviewed by Chris
Added new SPI for Mail so it can get the behavior it needs when the user hits
the return key with the selection in quoted content.
* WebView.subproj/WebView.m
* WebView.subproj/WebViewPrivate.h
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7907
268f45cc-cd09-0410-ab3c-
d52691b4dbfc