[Laszlo-dev] For Review: Change 20080306-maxcarlson-k Summary: Reset selection when when selection position is out of bounds

Max Carlson max at openlaszlo.org
Thu Mar 6 13:12:19 PST 2008


Change 20080306-maxcarlson-k by maxcarlson at Roboto on 2008-03-06  
13:08:28 PST
     in /Users/maxcarlson/openlaszlo/trunk
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Reset selection when when selection position is out of bounds

New Features:

Bugs Fixed: LPP-5449 - Seems like inputtext selection position is not  
reset until input text is focused or setSelection() is invoked

Technical Reviewer: promanik
QA Reviewer: pkang at laszlosystems.com
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: LzTextSprite.as - Track selection position in setSelection.   
If the string passed to setText() is smaller than the selection, reset  
the selection.

LzInputTextSprite.as - If the string passed to setText() is smaller  
than the selection, reset the selection.


Tests: See LPP-5449

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

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080306-maxcarlson-k.tar


More information about the Laszlo-dev mailing list