[Laszlo-dev] Making Debug.format generally available

P T Withington ptw at pobox.com
Tue Jul 3 11:22:10 PDT 2007


I'm looking for some input on http://jira.openlaszlo.org/jira/browse/ 
LPP-3073

Debug.format implements a fairly complete `printf`-like facility.   
People have asked for it to be generally available.

Where should this functionality be exposed?

I propose a global LzFormat object that will have one method,  
`formatToString`.  This needs to be in the core LFC so the Debugger  
can rely on it.  We could also add a `format` method to the `<text>`  
tag that would let you set the content of a text object using the  
format facility.

Should there be a enhanced text view that retains the association  
between the objects and their representation, the way the debugger does?

Comments?


More information about the Laszlo-dev mailing list