mirror of https://gitlab.com/basile.b/dexed.git
fix lfmSyn colors lost during refactoring
This commit is contained in:
parent
7f9b3af3ca
commit
4fc2e25293
|
@ -218,10 +218,13 @@ begin
|
|||
identifierToD2Syn;
|
||||
end;
|
||||
|
||||
// TODO-cfeaturerecovery: previously colors was set in the mainform lfm, now they have to be hardcoded.
|
||||
initialization
|
||||
D2Syn := TSynD2Syn.create(nil);
|
||||
LfmSyn := TSynLFMSyn.Create(nil);
|
||||
LfmSyn.KeyAttri.Foreground := clNavy;
|
||||
LfmSyn.KeyAttri.Style := [fsBold];
|
||||
LfmSyn.NumberAttri.Foreground := clMaroon;
|
||||
LfmSyn.StringAttri.Foreground := clBlue;
|
||||
finalization
|
||||
D2Syn.free;
|
||||
LfmSyn.Free;
|
||||
|
|
Loading…
Reference in New Issue