view original | go back | toggle font

14680-tbc-editor-v1-60-for-xe6-dx10-1-berlin-full-source

TBC Editor v1.60 for XE6-DX10.1 Berlin Full Source

A syntax highlighting edit control for RAD Studio (Delphi/C++ Builder) with code folding, completion proposal, matching pair, minimap, sync edit, multi-caret editing, word wrap, etc. External highlighter and color scheme files are in JSON format which can be also loaded from a stream.

Build requirements

Note! Do not offer me older versions to support. I don't have time to keep up with those.

Conditional compilation

DefineDescription
USE_ALPHASKINSUse [AlphaSkins](http://blankrefer.com/?http://www.alphaskins.com/). AlphaSkins are most powerful theming solutions for apps developed in Delphi.
USE_VCL_STYLESUse VCL styles. A set of graphical details that define the look and feel of a VCL application.

Usage example

with BCEditor1 do begin Highlighter.LoadFromFile('JSON.json'); Highlighter.Colors.LoadFromFile('Default.json'); LoadFromFile(GetHighlighterFileName('JSON.json')); ... 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.