mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 01:39:31 +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;
|
||||
begin
|
||||
Result := MinimumFoldLevel(ALineIndex) - EndFoldLevel(ALineIndex - 1);
|
||||
Result := EndFoldLevel(ALineIndex - 1) - MinimumFoldLevel(ALineIndex);
|
||||
end;
|
||||
|
||||
function TSynLFMSyn.FoldNestCount(ALineIndex: Integer; AType: Integer): integer;
|
||||
|
Loading…
Reference in New Issue
Block a user