mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 17:18:17 +02:00
synedit: improved using clipping rect during paint from Martin, bug #11654
git-svn-id: trunk@15786 -
This commit is contained in:
parent
1207c0e3f4
commit
a20b096442
@ -2725,7 +2725,7 @@ begin
|
||||
nC1 := LeftChar;
|
||||
if (rcClip.Left > fGutterWidth + 2) then
|
||||
Inc(nC1, (rcClip.Left - fGutterWidth - 2) div CharWidth);
|
||||
nC2 := nC1 +
|
||||
nC2 := {$IFDEF SYN_LAZARUS}LeftChar{$ELSE}nC1{$ENDIF} +
|
||||
(rcClip.Right - fGutterWidth - 2 + CharWidth - 1) div CharWidth;
|
||||
// lines
|
||||
nL1 := Max({$IFDEF SYN_LAZARUS}
|
||||
|
Loading…
Reference in New Issue
Block a user