diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2007-05-01 14:40:27 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2007-05-01 14:40:27 +0000 |
| commit | 0556d32f67c758c8cd3ccf67fa7a0b2354879d7f (patch) | |
| tree | b1b4dd949f18df34a67ba32d2f5cf1e241ee971f | |
| parent | d0952607ac31de4bcf360b84d57c9b0d2e23f44a (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
| -rw-r--r-- | CHANGES | 2 | ||||
| -rw-r--r-- | documentation/Fl_Text_Buffer.html | 16 |
2 files changed, 10 insertions, 8 deletions
@@ -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> |
