SynEdit: Fix right-border-line on Windows. Lines longer than the right border, would cause gaps in the line

git-svn-id: trunk@19223 -
This commit is contained in:
martin 2009-04-04 21:37:27 +00:00
parent 9c3c06ecf8
commit 186237311f

View File

@ -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.