Version 1.0 beta. Use the Issues page to report bugs or send them directly to lasse@bonecode.com.
A syntax highlighting edit control with code folding, minimap, external JSON highlighter and color scheme files, etc.
- Json Data Objects (included)
- Delphi versions XE4, XE5, XE6, XE7, XE8, and Seattle are supported
- Delphi XE7: Update 1 required
- C++ Builder XE7, XE8, and Seattle are supported
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. |
with Editor do
begin
{ Load highlighter from file }
Highlighter.LoadFromFile('JSON.json');
{ Load color from file }
Highlighter.Colors.LoadFromFile('Default.json');
{ Load a file into editor }
LoadFromFile(GetHighlighterFileName('JSON.json'));
...
{ Set editor lines }
Lines.Text := Highlighter.Info.General.Sample;
end;
Note! LoadFromStream does not support multi-highlighters (for example HTML with Scripts.json). Override TBCBaseEditor.CreateFileStream function, if you want to load multi-highlighters from a stream.
TBCEditor Control Demo v. 1.0b.
The latest update: 22.10.2015 20:35, UTC+02:00
Demo source build requires AlphaSkins and EhLib.