diff options
author | nyamatongwe <unknown> | 2001-02-24 01:07:27 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2001-02-24 01:07:27 +0000 |
commit | 138a83285e148f933d9d8105d0b6a3f8d5c434bc (patch) | |
tree | f98810687b579e1a3b3db21227ec71ffc1b906d4 /src/ContractionState.h | |
parent | d21110c144c7ef998b76d3fde4954a811531c319 (diff) | |
download | scintilla-mirror-138a83285e148f933d9d8105d0b6a3f8d5c434bc.tar.gz |
Updated documentation comments from Philippe.
Diffstat (limited to 'src/ContractionState.h')
-rw-r--r-- | src/ContractionState.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/ContractionState.h b/src/ContractionState.h index 8e38df12c..0d7881c7b 100644 --- a/src/ContractionState.h +++ b/src/ContractionState.h @@ -1,15 +1,19 @@ // Scintilla source code edit control -// ContractionState.h - manages visibility of lines for folding +/** @file ContractionState.h + ** Manages visibility of lines for folding. + **/ // Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. #ifndef CONTRACTIONSTATE_H #define CONTRACTIONSTATE_H +/** + */ class OneLine { public: - int displayLine; // position within set of visible lines - int docLine; // inverse of displayLine + int displayLine; ///< Position within set of visible lines + int docLine; ///< Inverse of @a displayLine bool visible; bool expanded; @@ -17,6 +21,8 @@ public: virtual ~OneLine() {} }; +/** + */ class ContractionState { void Grow(int sizeNew); enum { growSize = 4000 }; @@ -26,6 +32,7 @@ class ContractionState { int size; mutable bool valid; void MakeValid() const; + public: ContractionState(); virtual ~ContractionState(); |