mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 10:50:53 +02:00
synedit: fixed painting a line too much, bug #11481
git-svn-id: trunk@15542 -
This commit is contained in:
parent
5980e1a71e
commit
e2cf50c737
@ -2698,7 +2698,7 @@ begin
|
||||
{$ENDIF},
|
||||
TopLine);
|
||||
nL2 := Min({$IFDEF SYN_LAZARUS}
|
||||
ScreenRowToRow((rcClip.Bottom-1) div fTextHeight+1),
|
||||
ScreenRowToRow((rcClip.Bottom-1) div fTextHeight),
|
||||
{$ELSE}
|
||||
TopLine + (rcClip.Bottom + fTextHeight - 1) div fTextHeight,
|
||||
{$ENDIF}
|
||||
|
Loading…
Reference in New Issue
Block a user