diff --git a/components/synedit/synedit.pp b/components/synedit/synedit.pp index 7c21f34aa4..72252483e4 100644 --- a/components/synedit/synedit.pp +++ b/components/synedit/synedit.pp @@ -3429,6 +3429,7 @@ begin Canvas.Pen.Width := 1; // Do everything else with API calls. This (maybe) realizes the new pen color. dc := Canvas.Handle; + SetBkMode(dc, TRANSPARENT); // If anything of the two pixel space before the text area is visible, then // fill it with the component background color.