Reviewed by Maciej Stachowiak.
authorsullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Jul 2005 20:35:26 +0000 (20:35 +0000)
committersullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Jul 2005 20:35:26 +0000 (20:35 +0000)
commitadb3fa0e174603f65374c90aba4a09e0afa85b51
treec880d55ec4119ee5cb419938e9fd7d49f7e4060c
parent9ccb63765bb1928aa03183876af2cda524d18911
    Reviewed by Maciej Stachowiak.

        - fixed these bugs:
        <rdar://problem/4181875> Searching for text that overlaps selection works differently in WebTextView than in HTMLView
        <rdar://problem/3393678> Find not finding text in plain (non-HTML) if all text is selected

        * Misc.subproj/WebSearchableTextView.m:
        (-[NSString findString:selectedRange:options:wrap:]):
        Make search algorithm match that in WebCore: initially search inside selection, then check for the case
        where the found text exactly matches the previous selection, and search from past the selection if so.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/ChangeLog
WebKit/Misc.subproj/WebSearchableTextView.m