mirror of https://gitlab.com/basile.b/dexed.git
make the global Highlighter streamable
This commit is contained in:
parent
b360c4a814
commit
c99f30434f
|
@ -265,6 +265,7 @@ end;
|
||||||
constructor TSynD2Syn.create(aOwner: TComponent);
|
constructor TSynD2Syn.create(aOwner: TComponent);
|
||||||
begin
|
begin
|
||||||
inherited create(aOwner);
|
inherited create(aOwner);
|
||||||
|
SetSubComponent(true);
|
||||||
|
|
||||||
DefaultFilter:= 'D source|*.d|D interface|*.di';
|
DefaultFilter:= 'D source|*.d|D interface|*.di';
|
||||||
|
|
||||||
|
|
|
@ -59,6 +59,7 @@ uses
|
||||||
constructor TSynTxtSyn.create(aOwner: TComponent);
|
constructor TSynTxtSyn.create(aOwner: TComponent);
|
||||||
begin
|
begin
|
||||||
inherited;
|
inherited;
|
||||||
|
SetSubComponent(true);
|
||||||
//
|
//
|
||||||
fSymAttribs := TSynHighlighterAttributes.Create('Symbols', 'Symbols');
|
fSymAttribs := TSynHighlighterAttributes.Create('Symbols', 'Symbols');
|
||||||
fTxtAttribs := TSynHighlighterAttributes.Create('Text', 'Text');
|
fTxtAttribs := TSynHighlighterAttributes.Create('Text', 'Text');
|
||||||
|
|
Loading…
Reference in New Issue