make the global Highlighter streamable

This commit is contained in:
Basile Burg 2015-02-19 06:06:49 +01:00
parent b360c4a814
commit c99f30434f
2 changed files with 2 additions and 0 deletions

View File

@ -265,6 +265,7 @@ end;
constructor TSynD2Syn.create(aOwner: TComponent);
begin
inherited create(aOwner);
SetSubComponent(true);
DefaultFilter:= 'D source|*.d|D interface|*.di';

View File

@ -59,6 +59,7 @@ uses
constructor TSynTxtSyn.create(aOwner: TComponent);
begin
inherited;
SetSubComponent(true);
//
fSymAttribs := TSynHighlighterAttributes.Create('Symbols', 'Symbols');
fTxtAttribs := TSynHighlighterAttributes.Create('Text', 'Text');