mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 23:42:15 +08:00
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
This commit is contained in:
@@ -2,7 +2,7 @@ CHANGES IN FLTK 1.1.8
|
|||||||
|
|
||||||
- Documentation fixes (STR #1454, STR #1455, STR #1456,
|
- Documentation fixes (STR #1454, STR #1455, STR #1456,
|
||||||
STR #1457, STR #1458, STR #1460, STR #1481, STR #1578,
|
STR #1457, STR #1458, STR #1460, STR #1481, STR #1578,
|
||||||
STR #1639)
|
STR #1639, STR #1645)
|
||||||
- Fixed Makefile "make clean" (STR #1642, STR #1643)
|
- Fixed Makefile "make clean" (STR #1642, STR #1643)
|
||||||
- The sample RPM spec file now enables large file support
|
- The sample RPM spec file now enables large file support
|
||||||
and threading support (STR #1603)
|
and threading support (STR #1603)
|
||||||
|
|||||||
@@ -14,9 +14,6 @@
|
|||||||
|
|
||||||
<UL><PRE>
|
<UL><PRE>
|
||||||
<B>Fl_Text_Buffer</B>
|
<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>
|
</PRE></UL>
|
||||||
|
|
||||||
<H3>Include Files</H3>
|
<H3>Include Files</H3>
|
||||||
@@ -27,8 +24,11 @@
|
|||||||
|
|
||||||
<H3>Description</H3>
|
<H3>Description</H3>
|
||||||
|
|
||||||
<P>The <TT>Fl_Text_Buffer</TT> class is used by the <TT>Fl_Text_Display</TT>
|
<P>The <TT>Fl_Text_Buffer</TT> class is used by the
|
||||||
and <TT>Fl_Text_Editor</TT> to manage complex text data and is based upon 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
|
excellent NEdit text editor engine - see
|
||||||
<A HREF="http://www.nedit.org/">http://www.nedit.org/</A>.</P>
|
<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>
|
<H4><A NAME="Fl_Text_Buffer.text">const char* text();<BR>
|
||||||
void text(const char* text);</A></H4>
|
void text(const char* text);</A></H4>
|
||||||
|
|
||||||
<P>Gets or sets the text in the buffer. When you are done with
|
<P>Gets or sets the text in the buffer. The first form
|
||||||
the text, free it using the <tt>free()</tt> function.
|
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>
|
<H4><A NAME="Fl_Text_Buffer.unhighlight">void unhighlight();</A></H4>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user