Skip to content
  • sullivan's avatar
    WebCore: · 1dcf67dc
    sullivan authored
            Reviewed by Tim Omernick.
    
            Test cases added: none, doesn't affect layout
    
            - fixed <rdar://problem/4250792> Find in HTML doesn't reveal match if only match was already selected
    
            * kwq/KWQKHTMLPart.mm:
            (KWQKHTMLPart::findString):
            If we end up finding the previously-selected text, just go through the normal success code path
            instead of bailing out early.
    
    WebKit:
    
            Reviewed by Tim Omernick.
    
            fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4070:
            Find in plain text won't find only occurrence if it overlaps selection
    
            * Misc.subproj/WebSearchableTextView.m:
            (-[NSString findString:selectedRange:options:wrap:]):
            in the wrap case, extend the search range far enough that text overlapping the
            selection (including the exact-match case) will be considered.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10505 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    1dcf67dc