Skip to content

LaKraven/TBCEditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

Version 1.5.2. Use the Issues page to report bugs or send them directly to lasse@bonecode.com.

Note! Current trunk should never be considered as a stable version. Use the latest release version instead.

Description

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

Build requirements

  • Json Data Objects (included)
  • Delphi versions XE4, XE5, XE6, XE7, XE8, and Seattle are supported
  • Delphi XE7: Update 1 required
  • C++ Builder versions XE7, XE8, and Seattle are supported

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

Conditional compilation

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.

Usage example

  with Editor 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.

Demo

TBCEditor Control Demo v. 1.5.2.

The latest update: 21.03.2016 17:33, UTC+02:00

Demo source build requires AlphaSkins and EhLib.

Documentation

Documentation will be written after the project stabilizes and dust settles. This project is developed in my spare time without sources of income and as long as this is the case there is no timetable for anything.

Projects using the control

Screenshots

bceditor1 bceditor0 bceditor2 bceditor3 bceditor4 bceditor5 bceditor6 bceditor7

Releases

No releases published

Packages

No packages published