SynEdit: add FoldNodeInfo, fix for HL without foldconf

git-svn-id: trunk@50799 -
This commit is contained in:
martin 2015-12-14 15:39:12 +00:00
parent f89260aa10
commit 2c3a45ce75

View File

@ -1178,7 +1178,7 @@ begin
act := act + FFoldConfig[PtrUInt(ABlockType)].FoldActions
else
if not BlockConfExists then
act := act + [sfaFold];
act := act + [sfaFold, sfaFoldFold];
DoInitNode(nd, FinishingABlock, ABlockType, act, True);
end
else
@ -1189,7 +1189,7 @@ begin
act := act + FFoldConfig[PtrUInt(ABlockType)].FoldActions
else
if not BlockConfExists then
act := act + [sfaFold];
act := act + [sfaFold, sfaFoldFold];
act := act - [sfaFoldFold, sfaFoldHide]; // it is closing tag
DoInitNode(nd, FinishingABlock, ABlockType, act, LevelChanged);
end;