Change ptw-20110315-z4b by [email protected] on 2011-03-15 15:42:44 EDT
    in /Users/ptw/OpenLaszlo/trunk-devo
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Straighten out input text selection in swf10

Bugs Fixed:  LPP-9823 PQR-30071-429: OL4.8 InputText cursor issue

Technical Reviewer: [email protected] (pending)
QA Reviewer: [email protected] (pending)

Overview:

    Don't re-select inputtext when it is already selected.  Preserve
    scroll position when selecting.

Details:

    LzTextSprite:  Add a test harness for tracing what's happening to
    textfields, left in as a comment only.

    LzInputTextSprite: Eliminate `hasFocus`, which did not reflect
    reality, and test directly if the stage focus is the textfield.
    In select, remember the scroll position and reset it when done.

Tests:
    test case from bug report

Files:
M       WEB-INF/lps/lfc/kernel/swf9/LzTextSprite.as
M       WEB-INF/lps/lfc/kernel/swf9/LzInputTextSprite.as


Changeset: http://svn.openlaszlo.org/openlaszlo/patches/ptw-20110315-z4b.tar

Reply via email to