mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-20 12:59:16 +02:00
SynEdit: OverviewGutter, disable hint
git-svn-id: trunk@39803 -
This commit is contained in:
parent
99d66ad98d
commit
4d33e87310
@ -543,7 +543,7 @@ function TSynGutterLOvLineMarksList.TextLineToPixLine(ATxtLine: Integer): Intege
|
|||||||
begin
|
begin
|
||||||
if PixelHeight < 1 then exit(0);
|
if PixelHeight < 1 then exit(0);
|
||||||
|
|
||||||
Result := Int64(ATxtLine - 1) * Int64(PixelHeight) div TextLineCount;
|
Result := Int64({%H-}ATxtLine - 1) * Int64(PixelHeight) div TextLineCount;
|
||||||
|
|
||||||
If FPixelPerLine * 2 < ItemHeight then
|
If FPixelPerLine * 2 < ItemHeight then
|
||||||
dec(Result)
|
dec(Result)
|
||||||
|
Loading…
Reference in New Issue
Block a user