diff options
| author | Neil <nyamatongwe@gmail.com> | 2021-05-14 14:02:39 +1000 | 
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2021-05-14 14:02:39 +1000 | 
| commit | d6136af6d39ae06b4b0b51bd4576338015722591 (patch) | |
| tree | dd7ece130f6405ddfda06a3289a258ea0b3557af /src/ViewStyle.cxx | |
| parent | 17d2d5c793eaa95b170684213b18ff2e3f5ce291 (diff) | |
| download | scintilla-mirror-d6136af6d39ae06b4b0b51bd4576338015722591.tar.gz | |
Add elements for hot spots SC_ELEMENT_HOT_SPOT_ACTIVE and
SC_ELEMENT_HOT_SPOT_ACTIVE_BACK.
Diffstat (limited to 'src/ViewStyle.cxx')
| -rw-r--r-- | src/ViewStyle.cxx | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx index 489758c71..ca59fef2c 100644 --- a/src/ViewStyle.cxx +++ b/src/ViewStyle.cxx @@ -87,7 +87,6 @@ ViewStyle::ViewStyle(const ViewStyle &source) : markers(MARKER_MAX + 1), indicat  	foldmarginColour = source.foldmarginColour;  	foldmarginHighlightColour = source.foldmarginHighlightColour; -	hotspotColours = source.hotspotColours;  	hotspotUnderline = source.hotspotUnderline;  	controlCharSymbol = source.controlCharSymbol; @@ -249,9 +248,9 @@ void ViewStyle::Init(size_t stylesSize_) {  	someStylesProtected = false;  	someStylesForceCase = false; -	hotspotColours.fore.reset(); -	hotspotColours.back.reset();  	hotspotUnderline = true; +	elementColours.erase(SC_ELEMENT_HOT_SPOT_ACTIVE); +	elementAllowsTranslucent.insert(SC_ELEMENT_HOT_SPOT_ACTIVE);  	leftMarginWidth = 1;  	rightMarginWidth = 1; | 
