diff options
| author | nyamatongwe <unknown> | 2001-02-24 01:07:27 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2001-02-24 01:07:27 +0000 | 
| commit | 730950e6a4cfe270bb33304f477148b9131d7fbd (patch) | |
| tree | 00849b12465c25919527022c1f03bd3da43da178 /src/ViewStyle.h | |
| parent | 6da7f1fa2aee410a97deef5dd497d8bf0952ad03 (diff) | |
| download | scintilla-mirror-730950e6a4cfe270bb33304f477148b9131d7fbd.tar.gz | |
Updated documentation comments from Philippe.
Diffstat (limited to 'src/ViewStyle.h')
| -rw-r--r-- | src/ViewStyle.h | 20 | 
1 files changed, 15 insertions, 5 deletions
| diff --git a/src/ViewStyle.h b/src/ViewStyle.h index 96829c8e1..63f2940c4 100644 --- a/src/ViewStyle.h +++ b/src/ViewStyle.h @@ -1,11 +1,15 @@  // Scintilla source code edit control -// ViewStyle.h - store information on how the document is to be viewed +/** @file ViewStyle.h + ** Store information on how the document is to be viewed. + **/  // Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org>  // The License.txt file describes the conditions under which this software may be distributed.  #ifndef VIEWSTYLE_H  #define VIEWSTYLE_H +/** + */  class MarginStyle {  public:  	bool symbol; @@ -15,10 +19,13 @@ public:  	MarginStyle();  }; +/** + */  class FontNames {  private:  	char *names[STYLE_MAX + 1];  	int max; +  public:  	FontNames();  	~FontNames(); @@ -27,6 +34,9 @@ public:  };  enum WhiteSpaceVisibility {wsInvisible=0, wsVisibleAlways=1, wsVisibleAfterIndent=2}; + +/** + */  class ViewStyle {  public:  	FontNames fontNames; @@ -45,12 +55,12 @@ public:  	ColourPair selbackground2;  	ColourPair selbar;  	ColourPair selbarlight; -	// Margins are ordered: Line Numbers, Selection Margin, Spacing Margin -	int leftMarginWidth;		// Spacing margin on left of text -	int rightMarginWidth;	// Spacing margin on left of text +	/// Margins are ordered: Line Numbers, Selection Margin, Spacing Margin  	enum { margins=3 }; +	int leftMarginWidth;	///< Spacing margin on left of text +	int rightMarginWidth;	///< Spacing margin on left of text  	bool symbolMargin; -	int maskInLine;	// Mask for markers to be put into text because there is nowhere for them to go in margin +	int maskInLine;	///< Mask for markers to be put into text because there is nowhere for them to go in margin  	MarginStyle ms[margins];  	int fixedColumnWidth;  	int zoomLevel; | 
