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
commit4354f177a6349bd70424f2b8068f377a3118b269 (patch)
tree89b89fc80a0f5b4c9d8d2e86593e8c1b0f474064 /src/ViewStyle.h
parent7ce145146a3815791ab4f10e198ae10293afdbeb (diff)
downloadscintilla-mirror-4354f177a6349bd70424f2b8068f377a3118b269.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_);