Version 1.0 beta released. Use the Issues page to report bugs or send them directly to [email protected].
Json Data Objects (included)
Delphi versions from XE4 to XE8 supported.
Eric Grange has made a Delphi XE backport: https://bitbucket.org/egrange/tbceditorxe
Define | Description |
---|---|
USE_ALPHASKINS | Use AlphaSkins. AlphaSkins are most powerful theming solutions for apps developed in Delphi. |
USE_VCL_STYLES | Use VCL styles. A set of graphical details that define the look and feel of a VCL application. |
TYourForm = class(TForm)
Editor: TBCEditor;
...
var
LFilePath: string;
begin
LFilePath := ExtractFilePath(Application.ExeName);
with Editor do
begin
Highlighter.LoadFromFile(Format('%sHighlighters\%s.json', [LFilePath, 'JSON']); { Highlighter }
Highlighter.LoadColorsFromFile(Format('%sColors\%s.json', [LFilePath, 'Default']); { Color }
LoadFromFile(Format('%sHighlighters\%s.json', [LFilePath, 'JSON']); { Editor file }
...
ClearCodeFolding;
Lines.Text := Highlighter.Info.General.Sample; { Set text }
InitCodeFolding;
end;
end;
TBCEditor Control Demo v1.0b.
The latest update: 12.05.2015 22:22, UTC+02:00