mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-02 23:12:05 +01:00
SynEdit Gutter: Line Numbers where truncated/missing, if code-folding was off.
git-svn-id: trunk@17547 -
This commit is contained in:
parent
da4866927b
commit
89df2435c2
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user