aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2016-09-29 13:36:43 +1000
committerNeil <nyamatongwe@gmail.com>2016-09-29 13:36:43 +1000
commitde7dccbae50c839869017a30cd5e57d6ef639242 (patch)
tree6bedd6676770b1381104cddea9d4f0ff17ca5402 /src/ViewStyle.h
parentcfe3c049555422cbc7dcf3fd2fadad2f08487dd7 (diff)
downloadscintilla-mirror-de7dccbae50c839869017a30cd5e57d6ef639242.tar.gz
The number of margins can be changed with SCI_SETMARGINS.
Diffstat (limited to 'src/ViewStyle.h')
-rw-r--r--src/ViewStyle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ViewStyle.h b/src/ViewStyle.h
index 7a2c26f63..3b812693e 100644
--- a/src/ViewStyle.h
+++ b/src/ViewStyle.h
@@ -127,7 +127,7 @@ public:
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
int maskDrawInText; ///< Mask for markers that always draw in text
- MarginStyle ms[SC_MAX_MARGIN+1];
+ std::vector<MarginStyle> ms;
int fixedColumnWidth; ///< Total width of margins
bool marginInside; ///< true: margin included in text view, false: separate views
int textStart; ///< Starting x position of text within the view