SynEdit Gutter: Line Numbers where truncated/missing, if code-folding was off.

git-svn-id: trunk@17547 -
This commit is contained in:
martin 2008-11-23 13:53:17 +00:00
parent da4866927b
commit 89df2435c2

View File

@ -607,9 +607,11 @@ begin
rcLine := AClip;
rcLine.Right := rcLine.Left;
for i := 0 to FGutterPartList.Count -1 do begin
rcLine.Left := rcLine.Right;
rcLine.Right := rcLine.Left + GutterPart[i].Width;
GutterPart[i].Paint(Canvas, rcLine, FirstLine, LastLine);
if GutterPart[i].Visible then begin
rcLine.Left := rcLine.Right;
rcLine.Right := rcLine.Left + GutterPart[i].Width;
GutterPart[i].Paint(Canvas, rcLine, FirstLine, LastLine);
end;
end;
// the gutter separator if visible