aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-06-13 08:22:12 +1000
committernyamatongwe <devnull@localhost>2011-06-13 08:22:12 +1000
commitbd0968c217d7385c9801ba51da45add548c63941 (patch)
treec0af50f12bc2c3812d44e589140c5a744474c788 /src/ViewStyle.cxx
parenteb5cb13123d45c775db0499583dde98b7c8341ee (diff)
downloadscintilla-mirror-bd0968c217d7385c9801ba51da45add548c63941.tar.gz
Moved marginOptions from ViewStyle to Editor as it is a behavioural option.
Diffstat (limited to 'src/ViewStyle.cxx')
-rw-r--r--src/ViewStyle.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx
index 78b13b8da..03a2fb42f 100644
--- a/src/ViewStyle.cxx
+++ b/src/ViewStyle.cxx
@@ -187,7 +187,6 @@ ViewStyle::ViewStyle(const ViewStyle &source) {
someStylesForceCase = false;
leftMarginWidth = source.leftMarginWidth;
rightMarginWidth = source.rightMarginWidth;
- marginOptions = source.marginOptions;
for (int i=0; i < margins; i++) {
ms[i] = source.ms[i];
}
@@ -288,7 +287,6 @@ void ViewStyle::Init(size_t stylesSize_) {
leftMarginWidth = 1;
rightMarginWidth = 1;
- marginOptions = SC_MARGINOPTION_NONE;
ms[0].style = SC_MARGIN_NUMBER;
ms[0].width = 0;
ms[0].mask = 0;