diff options
author | nyamatongwe <devnull@localhost> | 2013-02-22 17:06:50 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2013-02-22 17:06:50 +1100 |
commit | 18e16eec6d4a66f9d9a365e2498ab511e56b6a97 (patch) | |
tree | 47dc5204d018285b8d80187dfff81eb6d658e1e6 /src/ViewStyle.h | |
parent | 64a54a3c407b2208f299701628619c55121da4a3 (diff) | |
download | scintilla-mirror-18e16eec6d4a66f9d9a365e2498ab511e56b6a97.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; |