mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 04:29:28 +02:00
SynEdit: Fix LFM fold (tree would not draw close node indicators)
git-svn-id: trunk@22608 -
This commit is contained in:
parent
e3156cd675
commit
30616b6f50
@ -609,7 +609,7 @@ end;
|
|||||||
|
|
||||||
function TSynLFMSyn.FoldCloseCount(ALineIndex: Integer; AType: Integer): integer;
|
function TSynLFMSyn.FoldCloseCount(ALineIndex: Integer; AType: Integer): integer;
|
||||||
begin
|
begin
|
||||||
Result := MinimumFoldLevel(ALineIndex) - EndFoldLevel(ALineIndex - 1);
|
Result := EndFoldLevel(ALineIndex - 1) - MinimumFoldLevel(ALineIndex);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TSynLFMSyn.FoldNestCount(ALineIndex: Integer; AType: Integer): integer;
|
function TSynLFMSyn.FoldNestCount(ALineIndex: Integer; AType: Integer): integer;
|
||||||
|
Loading…
Reference in New Issue
Block a user