diff options
author | nyamatongwe <devnull@localhost> | 2001-02-24 01:07:27 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2001-02-24 01:07:27 +0000 |
commit | 9131359e9b0f3aa9c004c651601dd17d0224b75d (patch) | |
tree | f98810687b579e1a3b3db21227ec71ffc1b906d4 /src/ContractionState.h | |
parent | 769025893f417503828b77a9edb4d17ee7668e1f (diff) | |
download | scintilla-mirror-9131359e9b0f3aa9c004c651601dd17d0224b75d.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(); |