[Laszlo-dev] new textsprite implementation
P T Withington
ptw at pobox.com
Mon Jun 28 07:55:46 PDT 2010
Worst case, you accumulate all the text in the kernel and queue an idle callback to send the text to the runtime. (idle as in one of those 0 interval callbacks).
On Jun 27, 2010, at 11:37, Henry Minsky <hminsky at laszlosystems.com> wrote:
> I've got the mostly debugger working with the new text sprite, except for something is still a little broken with vertical scrolling.
> The simple test case works (test/lfc/maxscroll) , but the debugger text pane itself is not scrolling quite right. It may be that
> since the debug pane uses some very old scrolling code, it may be depending on some other behavior.
> But there's a big issue which is the efficiency of setText to append text onto the field. When I click on canvas object to inspect
> it in the debugger, it takes four or five seconds to display the result, which is almost certainly due to calling setText repeatedly,
> which causes the whole text flow to be recreated. We need to find out how to efficiently append text into the textFlow rather
> than reimporting the whole thing from HTML for each call to setText.
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Laszlo-dev