summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2007-05-01 14:40:27 +0000
committerMatthias Melcher <fltk@matthiasm.com>2007-05-01 14:40:27 +0000
commit0556d32f67c758c8cd3ccf67fa7a0b2354879d7f (patch)
treeb1b4dd949f18df34a67ba32d2f5cf1e241ee971f /documentation
parentd0952607ac31de4bcf360b84d57c9b0d2e23f44a (diff)
STR #1645: Updated documentation for Fl_Text_Buffer
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5789 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation')
-rw-r--r--documentation/Fl_Text_Buffer.html16
1 files changed, 9 insertions, 7 deletions
diff --git a/documentation/Fl_Text_Buffer.html b/documentation/Fl_Text_Buffer.html
index ad86d9b71..6bbc68099 100644
--- a/documentation/Fl_Text_Buffer.html
+++ b/documentation/Fl_Text_Buffer.html
@@ -14,9 +14,6 @@
<UL><PRE>
<B>Fl_Text_Buffer</B>
- |
- +----<A href="Fl_Text_Display.html">Fl_Text_Display</A>,
- <A href="Fl_Text_Editor.html">Fl_Text_Editor</A>
</PRE></UL>
<H3>Include Files</H3>
@@ -27,8 +24,11 @@
<H3>Description</H3>
-<P>The <TT>Fl_Text_Buffer</TT> class is used by the <TT>Fl_Text_Display</TT>
-and <TT>Fl_Text_Editor</TT> to manage complex text data and is based upon the
+<P>The <TT>Fl_Text_Buffer</TT> class is used by the
+<tt><A href="Fl_Text_Display.html">Fl_Text_Display</A></tt>
+and
+<tt><A href="Fl_Text_Editor.html">Fl_Text_Editor</A></tt>
+to manage complex text data and is based upon the
excellent NEdit text editor engine - see
<A HREF="http://www.nedit.org/">http://www.nedit.org/</A>.</P>
@@ -420,8 +420,10 @@ done with the text, free it using the <tt>free()</tt> function.
<H4><A NAME="Fl_Text_Buffer.text">const char* text();<BR>
void text(const char* text);</A></H4>
-<P>Gets or sets the text in the buffer. When you are done with
-the text, free it using the <tt>free()</tt> function.
+<P>Gets or sets the text in the buffer. The first form
+returns a copy of the text in the buffer which you must
+later <tt>free()</tt> when done using it. The second form sets the text in
+the buffer, making an internal copy of the string that is automatically managed.
<H4><A NAME="Fl_Text_Buffer.unhighlight">void unhighlight();</A></H4>