mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 09:50:31 +02:00
SynEdit:, further enhanced the Color settings for the fold [...]
git-svn-id: trunk@18178 -
This commit is contained in:
parent
0a91971c12
commit
19ff151b3b
@ -2979,18 +2979,13 @@ var
|
||||
|
||||
if FFoldedLinesView.FoldType[CurLine] = cfCollapsed then
|
||||
begin
|
||||
FGfold := Font.Color;
|
||||
BGfold := colEditorBG;
|
||||
FFfold := Font.Color;
|
||||
Sfold := [];
|
||||
MarkupInfo := fMarkupManager.GetMarkupAttributeAtRowCol(FFoldedLinesView.TextIndex[CurLine]+1, CurPhysPos);
|
||||
if MarkupInfo <> nil then begin
|
||||
FGfold := MarkupInfo.Foreground;
|
||||
BGfold := MarkupInfo.Background;
|
||||
FFfold := MarkupInfo.FrameColor;
|
||||
Sfold := MarkupInfo.Style;
|
||||
end else begin
|
||||
FGfold := Font.Color;
|
||||
BGfold := colEditorBG;
|
||||
FFfold := clNone;
|
||||
Sfold := [];
|
||||
end;
|
||||
if MarkupInfo <> nil then
|
||||
MarkupInfo.ModifyColors(FGfold, BGfold, FFfold, Sfold);
|
||||
FoldedCodeInfo := FoldedCodeColor;
|
||||
If assigned(FoldedCodeInfo) then
|
||||
FoldedCodeInfo.ModifyColors(FGfold, BGfold, FFfold, Sfold);
|
||||
|
Loading…
Reference in New Issue
Block a user