mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 20:19:29 +02:00
SynEdit: Fixed Gutter.LeftOffset
git-svn-id: trunk@62163 -
This commit is contained in:
parent
7db04f024b
commit
9a7663f9a7
@ -272,7 +272,7 @@ begin
|
|||||||
TextDrawer.ExtTextOut(Left, Top, ETO_OPAQUE, AClip, nil, 0);
|
TextDrawer.ExtTextOut(Left, Top, ETO_OPAQUE, AClip, nil, 0);
|
||||||
TextDrawer.EndDrawing;
|
TextDrawer.EndDrawing;
|
||||||
|
|
||||||
AClip.Left := Surface.Left;
|
AClip.Left := Surface.Left + LeftOffset;
|
||||||
AClip.Top := Surface.TextBounds.Top + FirstLine * TCustomSynEdit(SynEdit).LineHeight;
|
AClip.Top := Surface.TextBounds.Top + FirstLine * TCustomSynEdit(SynEdit).LineHeight;
|
||||||
|
|
||||||
rcLine := AClip;
|
rcLine := AClip;
|
||||||
|
Loading…
Reference in New Issue
Block a user