aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2026-03-02 19:27:58 +1100
committerNeil <nyamatongwe@gmail.com>2026-03-02 19:27:58 +1100
commit3e08cdd477397df9fd3149e8aea02734427807ba (patch)
tree05d82441f101ce329baf246f9772f5c78af022c7
parentbe2e6aa80d9a476668ac3c9d355b97a73c9f3b3a (diff)
downloadscintilla-mirror-3e08cdd477397df9fd3149e8aea02734427807ba.tar.gz
Restore background when EOL annotation with curved or angled sides drawn.
Bug added in 5.5.9.
-rw-r--r--src/EditView.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/EditView.cxx b/src/EditView.cxx
index bec07fe95..a1b0d61ab 100644
--- a/src/EditView.cxx
+++ b/src/EditView.cxx
@@ -1286,6 +1286,7 @@ void EditView::DrawEOLAnnotationText(Surface *surface, const EditModel &model, c
// it may be double drawing. This is to allow stadiums with
// curved or angled ends to have the area outside in the correct
// background colour.
+ surface->FillRectangleAligned(rcSegment, Fill(textBack));
FillLineRemainder(surface, model, vsDraw, ll, line, rcLine, rcSegment.right, subLine);
}