mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 04:19:20 +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
|
begin
|
||||||
Result := inherited GetFoldConfigInstance(Index);
|
Result := inherited GetFoldConfigInstance(Index);
|
||||||
Result.Enabled := True;
|
Result.Enabled := True;
|
||||||
Result.SupportedModes := [fmFold, fmMarkup, fmOutline];
|
if TLfmCodeFoldBlockType(Index) in [cfbtLfmObject, cfbtLfmList, cfbtLfmItem] then begin
|
||||||
Result.Modes := [fmFold, fmMarkup, fmOutline];
|
Result.SupportedModes := Result.SupportedModes + [fmMarkup];
|
||||||
|
Result.Modes := Result.Modes + [fmMarkup];
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
constructor TSynLFMSyn.Create(AOwner: TComponent);
|
constructor TSynLFMSyn.Create(AOwner: TComponent);
|
||||||
|
Loading…
Reference in New Issue
Block a user