[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 05:26:14 PST 2009
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