Reviewed by Richard
authorkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Sep 2004 22:03:25 +0000 (22:03 +0000)
committerkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Sep 2004 22:03:25 +0000 (22:03 +0000)
commit145be4bd9e2b4c3c0322fd239ffd25391ba3443d
tree1bbd07f2cbddfb255318bc3e916603d2a1d52d87
parent3e1263645b22525ffcc6e3fc937b58132ed142ce
    Reviewed by Richard

        Fix for this bug:

        <rdar://problem/3800834> REGRESSION (Mail): Can't delete backwards past quoted text using HTML editing

        * khtml/editing/htmlediting_impl.cpp:
        (khtml::TypingCommandImpl::issueCommandForDeleteKey): Use CaretPosition class to get superior
        smarts about the selection to delete in the "start of block" case. This fixes the bug.
        While I was in the neighborhood, I cleaned up this function a bit.
        * layout-tests/editing/deleting/delete-3800834-fix-expected.txt: Added.
        * layout-tests/editing/deleting/delete-3800834-fix.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7557 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/editing/deleting/delete-3800834-fix-expected.txt [new file with mode: 0644]
LayoutTests/editing/deleting/delete-3800834-fix.html [new file with mode: 0644]
WebCore/ChangeLog-2005-08-23
WebCore/khtml/editing/htmlediting_impl.cpp