mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 17:18:17 +02:00
SynEdit: re-enable markup in lfm
git-svn-id: trunk@52180 -
This commit is contained in:
parent
77a7561f6e
commit
8b3aed5ba5
@ -262,8 +262,10 @@ function TSynLFMSyn.GetFoldConfigInstance(Index: Integer): TSynCustomFoldConfig;
|
||||
begin
|
||||
Result := inherited GetFoldConfigInstance(Index);
|
||||
Result.Enabled := True;
|
||||
Result.SupportedModes := [fmFold, fmMarkup, fmOutline];
|
||||
Result.Modes := [fmFold, fmMarkup, fmOutline];
|
||||
if TLfmCodeFoldBlockType(Index) in [cfbtLfmObject, cfbtLfmList, cfbtLfmItem] then begin
|
||||
Result.SupportedModes := Result.SupportedModes + [fmMarkup];
|
||||
Result.Modes := Result.Modes + [fmMarkup];
|
||||
end;
|
||||
end;
|
||||
|
||||
constructor TSynLFMSyn.Create(AOwner: TComponent);
|
||||
|
Loading…
Reference in New Issue
Block a user