Reviewed by John
authorkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Feb 2005 17:33:18 +0000 (17:33 +0000)
committerkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Feb 2005 17:33:18 +0000 (17:33 +0000)
commita42bc379c06971f77a5881cfb7a1384083d8d640
treecbae7d8b43c8f291a048c45607189c2f1a7c2cfc
parent2b5b6eea38515e83e15ad4fd4603e195ddc97fd9
    Reviewed by John

        Fix for this bug:

        <rdar://problem/3996344> Entire document content is deleted when only the first paragraph was supposed to be

        Problem stems from my attempt to fix this bug: <rdar://problem/3986155> Insertion point goes
        to beginning of doc after deleting.

        I added an "optimization" that proved to do more harm than good. So, basically, the fix is to remove code.

        * khtml/editing/htmlediting.cpp:
        (khtml::DeleteSelectionCommand::handleGeneralDelete)

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