SynEdit Highlighter: Fix to divider-draw changes in revision 19144 #8d681fd278

git-svn-id: trunk@19147 -
This commit is contained in:
martin 2009-03-29 00:16:35 +00:00
parent a14e436408
commit 96a4882d61

View File

@ -2507,8 +2507,8 @@ end;
function TSynPasSyn.GetDrawDivider(Index: integer): Boolean;
begin
result := (EndFoldLevel(Index) < DrawDividerLevel) and
(EndFoldLevel(Index - 1) >= DrawDividerLevel) and
(MinimumFoldLevel(Index) = EndFoldLevel(Index)); // not amixed line
(EndFoldLevel(Index - 1) > MinimumFoldLevel(Index)) and
(MinimumFoldLevel(Index) = EndFoldLevel(Index)); // not a mixed line
end;
function TSynPasSyn.GetFoldNodeInfo(Line, Index: Integer): TSynFoldNodeInfo;