Reviewed by John.
authorharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 7 May 2005 17:37:41 +0000 (17:37 +0000)
committerharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 7 May 2005 17:37:41 +0000 (17:37 +0000)
commit9fe43b8c33af8b07752aa84dffb5037f5c895e9c
tree4a3dc3a7213c6f720f80015f312755624673d017
parentdddae79e326f7cbf39cc8d0ea7a3f75f35d0bac0
    Reviewed by John.

        <rdar://problem/4110366> Deleting text at the end of email moves insertion point to the top of the document

        * khtml/editing/htmlediting.cpp:
        (khtml::DeleteSelectionCommand::handleGeneralDelete):
        Update m_upstreamStart when deleting m_downstreamEnd.node() if the former is no longer in the document.
        Better to update here than trying to recover later in calculateEndingPosition().

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9133 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/editing/htmlediting.cpp