aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2007-02-25 02:12:41 +0000
committernyamatongwe <unknown>2007-02-25 02:12:41 +0000
commit3fca3a236483ffdef8797b662b5a636ed966ceba (patch)
tree528b4d7b0bbe7e09c5ec245d71c60f004bbf9277
parente84d8a8042280c29a742f9661758aef40159946d (diff)
downloadscintilla-mirror-3fca3a236483ffdef8797b662b5a636ed966ceba.tar.gz
Fixed bug #1656532 where background colour of marker not
showing behind wrap indicator.
-rw-r--r--src/Editor.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index f2c76116f..93b299090 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -2401,7 +2401,8 @@ void Editor::DrawLine(Surface *surface, ViewStyle &vsDraw, int line, int lineVis
rcPlace.right = rcPlace.left + actualWrapVisualStartIndent * vsDraw.aveCharWidth;
// default bgnd here..
- surface->FillRectangle(rcSegment, vsDraw.styles[STYLE_DEFAULT].back.allocated);
+ surface->FillRectangle(rcSegment, overrideBackground ? background :
+ vsDraw.styles[STYLE_DEFAULT].back.allocated);
// main line style would be below but this would be inconsistent with end markers
// also would possibly not be the style at wrap point