On Wed, Aug 4, 2010 at 8:23 PM, Max Carlson <[email protected]> wrote:
> Should the logic that ensures end defaults to start when it's null be in > LzText.setSelection()? Then you could use > LzTextSprite.setSelection(start:Number, end:Number). oh yeah that would be neater. > Bummer how Number isn't nullable in AS3, huh? > > Otherwise, approved! > > > On 8/4/10 4:42 PM, Henry Minsky wrote: > >> Change 20100804-hqm-W by [email protected] on 2010-08-04 19:40:10 EDT >> in /Users/hqm/openlaszlo/trunktlf >> for http://svn.openlaszlo.org/openlaszlo/trunk >> >> Summary: SWF 10 - The setSelection method does not position the cursor >> >> New Features: >> >> Bugs Fixed: LPP-9269 >> >> Technical Reviewer: max >> QA Reviewer: danielle >> Doc Reviewer: (pending) >> >> Documentation: >> >> Release Notes: >> >> Overview: >> >> >> Details: >> >> Make LzInputTextSprite.setSelection() set the focus on the textfield >> before setting the selection range >> >> >> >> Tests: >> >> test case from bug report works in swf10 >> >> 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/20100804-hqm-W.tar >> > > -- > Regards, > Max Carlson > OpenLaszlo.org > -- Henry Minsky Software Architect [email protected]
