From 4354f177a6349bd70424f2b8068f377a3118b269 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 26 Jun 2014 13:06:24 +1000 Subject: Move calculation of line background colour to ViewStyle and represent as a ColourOptional to tightly bind the value with whether it is set. --- src/ViewStyle.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ViewStyle.h') diff --git a/src/ViewStyle.h b/src/ViewStyle.h index 4dfb14a33..60bd9688e 100644 --- a/src/ViewStyle.h +++ b/src/ViewStyle.h @@ -169,6 +169,7 @@ public: int ExternalMarginWidth() const; bool ValidStyle(size_t styleIndex) const; void CalcLargestMarkerHeight(); + ColourOptional Background(int marksOfLine, bool caretActive, bool lineContainsCaret) const; ColourDesired WrapColour() const; bool SetWrapState(int wrapState_); bool SetWrapVisualFlags(int wrapVisualFlags_); -- cgit v1.2.3