SynEdit: Fixed drawing random (divider) lines into empty space below EOF. This happened if the very last line had a divider-draw line, and the window's empty part was partly redrawn.

git-svn-id: trunk@18970 -
This commit is contained in:
martin 2009-03-12 19:44:15 +00:00
parent ebd943079c
commit 373ac65497

View File

@ -3337,15 +3337,6 @@ begin
LCLIntf.MoveToEx(dc, nRightEdge, rcToken.Top, nil);
LCLIntf.LineTo(dc, nRightEdge, rcToken.Bottom + 1);
end;
// codefold draw splitter line
if assigned(Gutter.CodeFoldPart) and Gutter.CodeFoldPart(0).Visible
and (FFoldedLinesView.DrawDivider[LastLine]) then
begin
ypos := rcToken.Bottom - 1;
LCLIntf.MoveToEx(dc, nRightEdge, ypos, nil);
LCLIntf.LineTo(dc, fGutterWidth, ypos);
end;
end;
fMarkupManager.EndMarkup;