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