aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-06-26 13:06:24 +1000
committerNeil <nyamatongwe@gmail.com>2014-06-26 13:06:24 +1000
commitc2111963a126dd0e66bdceb33dcfe39a3f90478f (patch)
treef601fc5c1dce17a19c429a45d3a27db9df7d6710 /src/ViewStyle.h
parentbef1bd1c8a4c409ccb5e831d62ef42d24489050e (diff)
downloadscintilla-mirror-c2111963a126dd0e66bdceb33dcfe39a3f90478f.tar.gz
Move calculation of line background colour to ViewStyle and represent as a
ColourOptional to tightly bind the value with whether it is set.
Diffstat (limited to 'src/ViewStyle.h')
-rw-r--r--src/ViewStyle.h1
1 files changed, 1 insertions, 0 deletions
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_);