Reviewed by Richard.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Mar 2005 23:08:46 +0000 (23:08 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Mar 2005 23:08:46 +0000 (23:08 +0000)
commit772ad03068efe9f3238ed77cc9aed037781bbc87
treed3e575ce843dea911abc5b2b6698548d0e48e551
parent30ebbafe67c4f92c9069cd7a26f55a97e801e281
    Reviewed by Richard.

        - fixed <rdar://problem/4037700> Every character typed causes stat call for /usr/share/icu/icudt32b_char.brk

        * khtml/rendering/render_text.cpp:
        (getCharacterBreakIterator): Added. Helper that sets up an iterator for the passed-in text.
        Shares a single global iterator (fast, albeit not thread-safe).
        (RenderText::previousOffset): Changed to call getCharacterBreakIterator.
        (RenderText::nextOffset): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8796 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/rendering/render_text.cpp