mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-12 08:39:16 +02:00
IDE: changes for deprecated SynEdit-folded-view (debug code only)
This commit is contained in:
parent
bf58a011b8
commit
8602168acd
@ -1120,7 +1120,7 @@ begin
|
||||
c := TCustomSynEdit(SynEdit).Lines.Count;
|
||||
for i := FirstLine to LastLine do
|
||||
begin
|
||||
iLine := FoldView.DisplayNumber[i];
|
||||
iLine := FoldView.ViewToTextIndex[i] + 1;
|
||||
if (iLine < 0) or (iLine >= c) then break;
|
||||
// next line rect
|
||||
rcLine.Top := rcLine.Bottom;
|
||||
@ -1173,7 +1173,7 @@ begin
|
||||
c := TCustomSynEdit(SynEdit).Lines.Count;
|
||||
for i := FirstLine to LastLine do
|
||||
begin
|
||||
iLine := FoldView.DisplayNumber[i];
|
||||
iLine := FoldView.ViewToTextIndex[i] + 1;
|
||||
if (iLine < 0) or (iLine >= c) then break;
|
||||
// next line rect
|
||||
rcLine.Top := rcLine.Bottom;
|
||||
|
Loading…
Reference in New Issue
Block a user