summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES2
-rw-r--r--documentation/Fl_Text_Buffer.html16
2 files changed, 10 insertions, 8 deletions
diff --git a/CHANGES b/CHANGES
index 6ab62463b..76043c479 100644
--- a/CHANGES
+++ b/CHANGES
@@ -2,7 +2,7 @@ CHANGES IN FLTK 1.1.8
- Documentation fixes (STR #1454, STR #1455, STR #1456,
STR #1457, STR #1458, STR #1460, STR #1481, STR #1578,
- STR #1639)
+ STR #1639, STR #1645)
- Fixed Makefile "make clean" (STR #1642, STR #1643)
- The sample RPM spec file now enables large file support
and threading support (STR #1603)
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>