From c73fc171078457aea7e84e1734afcc16c0c6ab7b Mon Sep 17 00:00:00 2001 From: martin Date: Tue, 26 May 2009 14:32:08 +0000 Subject: [PATCH] SynEdit: Added ability for highlighter to specify color for the area past the "end of line". Based on a patch by Brad Campbell git-svn-id: trunk@20244 - --- components/synedit/synedit.pp | 2 ++ 1 file changed, 2 insertions(+) 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;