mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-01-04 14:51:31 +01:00
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:
parent
ebd943079c
commit
373ac65497
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user