From 1741f339d4cac847cf9c465a8a1494fe7b50629a Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 13 Jun 2011 08:22:12 +1000 Subject: Moved marginOptions from ViewStyle to Editor as it is a behavioural option. --- src/ViewStyle.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/ViewStyle.cxx') 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; -- cgit v1.2.3