[Laszlo-dev] For Review: Change 20090204-ptw-R Summary: Tweak new scroll API's to not trigger Max's assertion
P T Withington
ptw at pobox.com
Wed Feb 4 06:21:13 PST 2009
With this change, for some reason the debugger in swf8 does not
autoscroll any more, but it does on swf9. Is this supposed to be a
built-in feature of text fields, that they autoscroll to the end?
On 2009-02-04, at 08:26EST, P T Withington wrote:
> Change 20090204-ptw-R by ptw at dueling-banjos.home on 2009-02-04
> 07:40:38 EST
> in /Users/ptw/OpenLaszlo/trunk-4
> for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: Tweak new scroll API's to not trigger Max's assertion
>
> Bugs Fixed: LPP-6580 scrolledittext doesn't work in 4.1 (partial)
>
> Technical Reviewer: hminsky (pending)
> QA Reviewer: max (pending)
>
> Details:
>
> LzTextSprite: Keep scroll values up to date when set. Correct
> pixelToLineNo math.
>
> LzDebug: Fix uninitialized variable.
>
> LzText: Add Max's assertion, correct initial values,
> initialization, add bounds checks and warnings for incorrect
> scroll values. Remove redundant maxscroll update. Correct signs
> for x/yscroll updates.
>
> newcontent: Fix math so we don't try to scroll to invalid places
>
> Tests:
> debugger, smokecheck, amazon
>
> Files:
> M WEB-INF/lps/lfc/kernel/swf/LzTextSprite.as
> M WEB-INF/lps/lfc/kernel/swf9/LzTextSprite.as
> M WEB-INF/lps/lfc/debugger/LzDebug.lzs
> M WEB-INF/lps/lfc/views/LzText.lzs
> M lps/components/debugger/newcontent.lzx
>
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20090204-ptw-R.tar
More information about the Laszlo-dev
mailing list