mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 13:39:24 +02:00
SynEdit: fixed missing invalidation for foldconf markup
git-svn-id: trunk@44055 -
This commit is contained in:
parent
e01e690857
commit
4a2a123175
@ -3982,6 +3982,7 @@ begin
|
|||||||
Result := inherited GetFoldConfigInstance(Index);
|
Result := inherited GetFoldConfigInstance(Index);
|
||||||
Result.Enabled := TPascalCodeFoldBlockType(Index) in [cfbtBeginEnd..cfbtIfThen];
|
Result.Enabled := TPascalCodeFoldBlockType(Index) in [cfbtBeginEnd..cfbtIfThen];
|
||||||
|
|
||||||
|
m := [];
|
||||||
if TPascalCodeFoldBlockType(Index) in PascalWordTripletRanges then
|
if TPascalCodeFoldBlockType(Index) in PascalWordTripletRanges then
|
||||||
m := [fmMarkup];
|
m := [fmMarkup];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user