[Laszlo-dev] For Review: Change 20080306-maxcarlson-k Summary: Reset selection when when selection position is out of bounds
Philip Romanik
promanik at laszlosystems.com
Thu Mar 6 13:48:53 PST 2008
Approved, but you should modify LzTextSprite.setSelection a little bit.
You are caching the value of 'end' so the new lines should be moved below:
if ( typeof( end ) == 'undefined' ){
end = start;
}
>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>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: <mailto:pkang at laszlosystems.com>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>http://svn.openlaszlo.org/openlaszlo/patches/20080306-maxcarlson-k.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20080306/f0940f91/attachment.html
More information about the Laszlo-dev
mailing list