diff --git a/components/synedit/synedit.pp b/components/synedit/synedit.pp index 034892b0ad..ffce773cae 100644 --- a/components/synedit/synedit.pp +++ b/components/synedit/synedit.pp @@ -3023,6 +3023,8 @@ var FillBCol := Attr.Background; FillFrame := Attr.FrameColor; FillStyle := Attr.Style; + if FillFCol = clNone then FillFCol := Font.Color; + if FillBCol = clNone then FillBCol := colEditorBG; end else begin FillFCol := Font.Color; FillBCol := colEditorBG;