summaryrefslogtreecommitdiff
path: root/src/Fl_Text_Buffer.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2008-09-20 22:46:24 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2008-09-20 22:46:24 +0000
commitb804e1f3ab455a86dcd345710ee5dcc1c2eab606 (patch)
tree22582970a896ec8b35c0e93e5eecdf7d2686bf8b /src/Fl_Text_Buffer.cxx
parentfd407c7775dbfd8efd15afaaa89586cf2e8689e9 (diff)
Fixed some typos and links and added a section about document structure
and some more to development.dox. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6320 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Text_Buffer.cxx')
-rw-r--r--src/Fl_Text_Buffer.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/Fl_Text_Buffer.cxx b/src/Fl_Text_Buffer.cxx
index 7bb18a948..d78860055 100644
--- a/src/Fl_Text_Buffer.cxx
+++ b/src/Fl_Text_Buffer.cxx
@@ -213,7 +213,13 @@ void Fl_Text_Buffer::text(const char *t) {
/**
Return a copy of the text between "start" and "end" character positions
from text buffer "buf". Positions start at 0, and the range does not
- include the character pointed to by "end"
+ include the character pointed to by "end".
+
+ - - -
+
+ Return a copy of the text between \a start and \a end character positions
+ from text buffer \a buf. Positions start at 0, and the range does not
+ include the character pointed to by \a end.
When you are done with the text, free it using the free() function.
*/
char * Fl_Text_Buffer::text_range(int start, int end) {
@@ -1327,7 +1333,7 @@ int Fl_Text_Buffer::findchars_backward(int startPos, const char *searchChars,
The primary routine for integrating new text into a text buffer with
substitution of another character for ascii nuls. This substitutes null
characters in the string in preparation for being copied or replaced
- into the buffer, and if neccessary, adjusts the buffer as well, in the
+ into the buffer, and if necessary, adjusts the buffer as well, in the
event that the string contains the character it is currently using for
substitution. Returns 0, if substitution is no longer possible
because all non-printable characters are already in use.