I try use TBCEditor but I have problem with highlighter..

I try use TBCEditor but I have problem with highlighter..
I load a highlight json like in sample code:

lPth := TPath.Combine(ExtractFilePath(Application.ExeName), 'Highlighters\HTML with Scripts.json');
bcedtSource.Highlighter.LoadFromFile(lPth);
bcedtSource.Lines.Text := bcedtSource.Highlighter.Info.General.Sample;

but highlighting is still not active, why?

Comments