Reviewed by John
authorkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Dec 2004 17:11:16 +0000 (17:11 +0000)
committerkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Dec 2004 17:11:16 +0000 (17:11 +0000)
commit08b639a16fedaeff1454e18b88173c3eb3e30acc
treea6191ad55c7e7d16ea3f75049c17181153e9eed1
parente0fa1cfc944cc4827309d9bda5491f4a1ce69d93
    Reviewed by John

        Fix for this bug:

        <rdar://problem/3914755> REGRESSION (Mail): Insertion point disappears after pasting paragraph

        * khtml/editing/htmlediting.cpp:
        (khtml::ReplaceSelectionCommand::doApply): Selection could end up in a "placeholder" node
        that was removed from the document when pasting. This caused the disappearance. Now this
        is detected, and the selection is shifted to a node that is in the document.

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