diff options
| author | YX Hao <unknown> | 2021-05-14 13:45:47 +1000 | 
|---|---|---|
| committer | YX Hao <unknown> | 2021-05-14 13:45:47 +1000 | 
| commit | c173fc47fda7bb86399bd777540bb17f8e05172d (patch) | |
| tree | 7d2e3f3b7ae1bea1dffd5c859414d35eb83f3a14 /src/ViewStyle.h | |
| parent | cafd88c083472076372469759addf9f491499de3 (diff) | |
| download | scintilla-mirror-c173fc47fda7bb86399bd777540bb17f8e05172d.tar.gz | |
Feature [feature-requests:#1402] Add SC_ELEMENT_WHITE_SPACE to set the colour of
visible whitespace including translucency.
Diffstat (limited to 'src/ViewStyle.h')
| -rw-r--r-- | src/ViewStyle.h | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/src/ViewStyle.h b/src/ViewStyle.h index 20325a962..b726cc559 100644 --- a/src/ViewStyle.h +++ b/src/ViewStyle.h @@ -134,7 +134,6 @@ public:  	SelectionAppearance selection; -	ForeBackColours whitespaceColours;  	int controlCharSymbol;  	XYPOSITION controlCharWidth;  	ColourAlpha selbar; @@ -154,6 +153,7 @@ 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; @@ -229,6 +229,7 @@ public:  	bool ElementAllowsTranslucent(int element) const;  	bool ResetElement(int element);  	bool SetElementColour(int element, ColourAlpha colour); +	bool SetElementColourOptional(int element, uptr_t wParam, sptr_t lParam);  	void SetElementRGB(int element, int rgb);  	void SetElementAlpha(int element, int alpha);  	bool ElementIsSet(int element) const; | 
