Author: lou
Date: 2008-02-01 07:47:18 -0800 (Fri, 01 Feb 2008)
New Revision: 7943
Added:
openlaszlo/trunk/docs/src/developers/programs/textformat.lzx
Modified:
openlaszlo/trunk/docs/src/developers/text.dbk
Log:
Change 20080201-lou-b by [EMAIL PROTECTED] on 2008-02-01 11:31:08 AST
in /Users/lou/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: add text.format() to the Text chapter of the dguide
Bugs Fixed: LPP-5400
Technical Reviewer: (ptw)
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
added new section
http://localhost:8080/trunk/docs/developers/text.html#textformat
Added: openlaszlo/trunk/docs/src/developers/programs/textformat.lzx
Property changes on:
openlaszlo/trunk/docs/src/developers/programs/textformat.lzx
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Modified: openlaszlo/trunk/docs/src/developers/text.dbk
===================================================================
--- openlaszlo/trunk/docs/src/developers/text.dbk 2008-02-01 15:42:32 UTC
(rev 7942)
+++ openlaszlo/trunk/docs/src/developers/text.dbk 2008-02-01 15:47:18 UTC
(rev 7943)
@@ -491,7 +491,23 @@
</itemizedlist>
</section>
<!-- remove empty para tag LI LPP-4642 9/4/2007-->
- <!-- <para /> -->
+ <section id="textformat">
+ <title>Formated Text</title>
+ <para>You can format text the same way you use
<literal>Debug.format()</literal>. The difference is
+ that you need the debugger to be running to use
<literal>Debug.format()</literal>, but <literal>text.format()</literal> is
+ always availabe. Like <literal>Debug.format()</literal>,
<literal>text.format()</literal> uses
+ <ulink
url="../reference/LzFormatter.html"><literal>LzFormatter</literal></ulink> to
format text based
+ on a control string.</para>
+ <example role="live-example">
+ <title>Formated text</title>
+ <programlisting language="lzx">
+ <textobject>
+ <textdata fileref="programs/textformat.lzx" />
+ </textobject>
+ </programlisting>
+ </example>
+ </section>
+
<section id="text.multiline">
<title>Single-line and multiline text</title>
<para>A text field can be either a single line or multiple
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins