diff options
author | nyamatongwe <unknown> | 2013-02-22 17:06:50 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2013-02-22 17:06:50 +1100 |
commit | 050ec00a46f30ece18fdf732690f5897651e7809 (patch) | |
tree | 2806872e73440d8fcd7d15d72413a19fe7585c1d /src/ViewStyle.h | |
parent | e2fe6df591d73bcd545b79f248acb788a179a40c (diff) | |
download | scintilla-mirror-050ec00a46f30ece18fdf732690f5897651e7809.tar.gz |
Define the maximum number of margins in Scintilla.iface.
Diffstat (limited to 'src/ViewStyle.h')
-rw-r--r-- | src/ViewStyle.h | 3 |
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; |