aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2007-05-27 01:03:39 +0000
committernyamatongwe <devnull@localhost>2007-05-27 01:03:39 +0000
commita7e855733d2a655fede13da970590703e170c629 (patch)
treee28a5b8fceb2cf69b81cfa1e08553ce6a2fa87d0 /src
parent907a49531ddf0eeafb25947a9fefd61b1e31b2f9 (diff)
downloadscintilla-mirror-a7e855733d2a655fede13da970590703e170c629.tar.gz
Patch from Todd Whiteman to show brace highlight background over
caret line background.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 8a2000090..acea1f463 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -2176,7 +2176,7 @@ ColourAllocated Editor::TextBackground(ViewStyle &vsDraw, bool overrideBackgroun
return vsDraw.edgecolour.allocated;
if (inHotspot && vsDraw.hotspotBackgroundSet)
return vsDraw.hotspotBackground.allocated;
- if (overrideBackground)
+ if (overrideBackground && (styleMain != STYLE_BRACELIGHT) && (styleMain != STYLE_BRACEBAD))
return background;
}
return vsDraw.styles[styleMain].back.allocated;