aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ViewStyle.h')
-rw-r--r--src/ViewStyle.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ViewStyle.h b/src/ViewStyle.h
index 5a623986b..ddcc64312 100644
--- a/src/ViewStyle.h
+++ b/src/ViewStyle.h
@@ -104,11 +104,10 @@ public:
bool hotspotUnderline;
bool hotspotSingleLine;
/// Margins are ordered: Line Numbers, Selection Margin, Spacing Margin
- enum { margins=5 };
int leftMarginWidth; ///< Spacing margin on left of text
int rightMarginWidth; ///< Spacing margin on right of text
int maskInLine; ///< Mask for markers to be put into text because there is nowhere for them to go in margin
- MarginStyle ms[margins];
+ MarginStyle ms[SC_MAX_MARGIN+1];
int fixedColumnWidth;
int zoomLevel;
WhiteSpaceVisibility viewWhitespace;