aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2004-04-12 05:41:53 +0000
committernyamatongwe <devnull@localhost>2004-04-12 05:41:53 +0000
commitc0c398e2232eecc3b54045bb8f0c4eeb4f485478 (patch)
tree7b7c81e1f99046165a24475c9f71798176aeac24 /src
parent9521f8059145397a44b4850fcfc60915182ba277 (diff)
downloadscintilla-mirror-c0c398e2232eecc3b54045bb8f0c4eeb4f485478.tar.gz
Comments from Philippe.
Diffstat (limited to 'src')
-rw-r--r--src/CellBuffer.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/CellBuffer.h b/src/CellBuffer.h
index 726ec015f..bf4a102f2 100644
--- a/src/CellBuffer.h
+++ b/src/CellBuffer.h
@@ -2,7 +2,7 @@
/** @file CellBuffer.h
** Manages the text of the document.
**/
-// Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org>
+// Copyright 1998-2004 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
#ifndef CELLBUFFER_H
@@ -150,12 +150,14 @@ public:
*/
class CellBuffer {
private:
- char *body;
- int size;
- int length;
- int part1len;
- int gaplen;
- char *part2body;
+ char *body; ///< The cell buffer itself.
+ int size; ///< Allocated size of the buffer.
+ int length; ///< Total length of the data.
+ int part1len; ///< Length of the first part.
+ int gaplen; ///< Length of the gap between the two parts.
+ char *part2body; ///< The second part of the cell buffer.
+ ///< Doesn't point after the gap but set so that
+ ///< part2body[position] is consistent with body[position].
bool readOnly;
int growSize;