From 0556d32f67c758c8cd3ccf67fa7a0b2354879d7f Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Tue, 1 May 2007 14:40:27 +0000 Subject: 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 --- CHANGES | 2 +- documentation/Fl_Text_Buffer.html | 16 +++++++++------- 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 @@

Include Files

@@ -27,8 +24,11 @@

Description

-

The Fl_Text_Buffer class is used by the Fl_Text_Display -and Fl_Text_Editor to manage complex text data and is based upon the +

The Fl_Text_Buffer class is used by the +Fl_Text_Display +and +Fl_Text_Editor +to manage complex text data and is based upon the excellent NEdit text editor engine - see http://www.nedit.org/.

@@ -420,8 +420,10 @@ done with the text, free it using the free() function.

const char* text();
void text(const char* text);

-

Gets or sets the text in the buffer. When you are done with -the text, free it using the free() function. +

Gets or sets the text in the buffer. The first form +returns a copy of the text in the buffer which you must +later free() when done using it. The second form sets the text in +the buffer, making an internal copy of the string that is automatically managed.

void unhighlight();

-- cgit v1.2.3