diff options
Diffstat (limited to 'src/ViewStyle.cxx')
| -rw-r--r-- | src/ViewStyle.cxx | 16 | 
1 files changed, 16 insertions, 0 deletions
| diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx index ea1b3e955..1e335ddfa 100644 --- a/src/ViewStyle.cxx +++ b/src/ViewStyle.cxx @@ -73,6 +73,12 @@ ViewStyle::ViewStyle(const ViewStyle &source) {  	selbackset = source.selbackset;  	selbackground.desired = source.selbackground.desired;  	selbackground2.desired = source.selbackground2.desired; + +	foldmarginColourSet = source.foldmarginColourSet; +	foldmarginColour.desired = source.foldmarginColour.desired; +	foldmarginHighlightColourSet = source.foldmarginHighlightColourSet; +	foldmarginHighlightColour.desired = source.foldmarginHighlightColour.desired; +  	whitespaceForegroundSet = source.whitespaceForegroundSet;  	whitespaceForeground.desired = source.whitespaceForeground.desired;  	whitespaceBackgroundSet = source.whitespaceBackgroundSet; @@ -125,6 +131,12 @@ void ViewStyle::Init() {  	selbackset = true;  	selbackground.desired = ColourDesired(0xc0, 0xc0, 0xc0);  	selbackground2.desired = ColourDesired(0xb0, 0xb0, 0xb0); + +	foldmarginColourSet = false; +	foldmarginColour.desired = ColourDesired(0xff, 0, 0); +	foldmarginHighlightColourSet = false; +	foldmarginHighlightColour.desired = ColourDesired(0xc0, 0xc0, 0xc0); +  	whitespaceForegroundSet = false;  	whitespaceForeground.desired = ColourDesired(0, 0, 0);  	whitespaceBackgroundSet = false; @@ -183,6 +195,10 @@ void ViewStyle::RefreshColourPalette(Palette &pal, bool want) {  	pal.WantFind(selforeground, want);  	pal.WantFind(selbackground, want);  	pal.WantFind(selbackground2, want); + +	pal.WantFind(foldmarginColour, want); +	pal.WantFind(foldmarginHighlightColour, want); +  	pal.WantFind(whitespaceForeground, want);  	pal.WantFind(whitespaceBackground, want);  	pal.WantFind(selbar, want); | 
