diff options
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(); |