diff options
author | Neil <nyamatongwe@gmail.com> | 2021-05-14 13:54:44 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-05-14 13:54:44 +1000 |
commit | 17d2d5c793eaa95b170684213b18ff2e3f5ce291 (patch) | |
tree | 35f64342cf85c11800ae711c0def0a1be435d20b /src/ViewStyle.h | |
parent | c173fc47fda7bb86399bd777540bb17f8e05172d (diff) | |
download | scintilla-mirror-17d2d5c793eaa95b170684213b18ff2e3f5ce291.tar.gz |
Add SC_ELEMENT_WHITE_SPACE_BACK to set the background colour of visible
whitespace.
Diffstat (limited to 'src/ViewStyle.h')
-rw-r--r-- | src/ViewStyle.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ViewStyle.h b/src/ViewStyle.h index b726cc559..cf8da4fe6 100644 --- a/src/ViewStyle.h +++ b/src/ViewStyle.h @@ -153,7 +153,6 @@ public: int textStart; ///< Starting x position of text within the view int zoomLevel; WhiteSpace viewWhitespace; - std::optional<ColourAlpha> whitespaceBack; TabDrawMode tabDrawMode; int whitespaceSize; IndentView viewIndentationGuides; @@ -220,8 +219,8 @@ public: std::optional<ColourAlpha> Background(int marksOfLine, bool caretActive, bool lineContainsCaret) const; bool SelectionBackgroundDrawn() const noexcept; bool SelectionTextDrawn() const; - bool WhitespaceBackgroundDrawn() const noexcept; - ColourAlpha WrapColour() const noexcept; + bool WhitespaceBackgroundDrawn() const; + ColourAlpha WrapColour() const; void AddMultiEdge(uptr_t wParam, sptr_t lParam); |