mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 07:20:23 +02:00
SynEdit: add FoldNodeInfo, fix for HL without foldconf
git-svn-id: trunk@50799 -
This commit is contained in:
parent
f89260aa10
commit
2c3a45ce75
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user