Patch by Kevin Ballard <kevin@sb.org>
authorjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Jun 2005 22:18:27 +0000 (22:18 +0000)
committerjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Jun 2005 22:18:27 +0000 (22:18 +0000)
commit5a952e2eb3a0583d0207ee4e8341dc2ebd62c734
treed2105b4323c32b01ea426bd2f4df9ee2f91b9d3e
parent4850371282b212066167494010f4589dfb245e3c
    Patch by Kevin Ballard <kevin@sb.org>

        Reviewed by Darin

        - Fixes <http://bugzilla.opendarwin.org/show_bug.cgi?id=3654>
        Updating the value of a textarea wasn't saving the cursor position
        in a line ending-agnostic fashion.

        Test cases added:
        * layout-tests/fast/forms/cursor-position-expected.txt: Added.
        * layout-tests/fast/forms/cursor-position.html: Added.

        * kwq/KWQTextArea.mm:
        (-[KWQTextArea getCursorPositionAsIndex:inParagraph:]):
        (RangeOfParagraph):
        (-[KWQTextArea setCursorPositionToIndex:inParagraph:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9515 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/fast/forms/cursor-position-expected.txt [new file with mode: 0644]
LayoutTests/fast/forms/cursor-position.html [new file with mode: 0644]
WebCore/ChangeLog-2005-08-23
WebCore/kwq/KWQTextArea.mm