diff options
author | nyamatongwe <unknown> | 2004-04-12 05:41:53 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2004-04-12 05:41:53 +0000 |
commit | 2ed8637999029074e02c0652068e347841acd671 (patch) | |
tree | 7b7c81e1f99046165a24475c9f71798176aeac24 /src | |
parent | f41239b098a143bc31e359569d622342605e6f13 (diff) | |
download | scintilla-mirror-2ed8637999029074e02c0652068e347841acd671.tar.gz |
Comments from Philippe.
Diffstat (limited to 'src')
-rw-r--r-- | src/CellBuffer.h | 16 |
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; |