Reviewed by Ken and John.
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Sep 2004 20:14:27 +0000 (20:14 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Sep 2004 20:14:27 +0000 (20:14 +0000)
commit9bd5dbca24896081072b620e25130c49784b9387
treee227889fccb39c18aa47bcd0d32f088e3c21f74a
parent45c280426b3c5770ca6b0546284d2af46e0f6a7d
    Reviewed by Ken and John.

<rdar://problem/3759228> REGRESSION (Mail): stray characters when entering text via input method right after newline

* khtml/editing/htmlediting_impl.cpp:
        (khtml::CompositeEditCommandImpl::inputText): Add an optional
selectInsertedText parameter.
        (khtml::ReplaceSelectionCommandImpl::doApply): Let the inputText operation
select the text when inserting plain text, because it already knows all the right
information to do so, and this function doesn't (sometimes text is inserted
before the start of the old selection, not after!)
        * khtml/editing/htmlediting_impl.h:

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