Reviewed by Ken.
authorsullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Jul 2004 21:50:53 +0000 (21:50 +0000)
committersullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Jul 2004 21:50:53 +0000 (21:50 +0000)
commit0c3bd3455ff54288535707690418cc2eb627a554
tree8c6079fd860dd0e67d28206525bc56f33f84ce4e
parentdf83ffd1ed1d2af3a0f95033abb3c79cdde8b534
    Reviewed by Ken.

        - fixed <rdar://problem/3705500> REGRESSION (125.8-146): Cmd-E on an
        HTML page puts a trailing space on Find pasteboard

        * khtml/misc/khtml_text_operations.cpp:
        (khtml::TextIterator::handleTextBox):
        In the case where a subrun doesn't extend to the end of the text box,
        the well-commented code was supposed to return from this routine, but
        the wrong variable was being compared. This would send us through another
        pass of the loop, which would end up worrying about collapsed space at the
        end of the current box, even though we only cared about the beginning of the
        current box.

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