Git Product home page Git Product logo

tbceditor-1's Introduction

The latest release version 1.9.0

Use the Issues page to report bugs or send them directly to [email protected].

Description

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, support for non-fixed-width fonts, 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-8, Seattle, and Berlin are supported
  • C++ Builder versions XE7-8, Seattle, and Berlin 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 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.

Demo

TBCEditor Control Demo v. 2.0.0 (dev).

The latest update: 05.02.2017 20:19, UTC+02:00

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

bceditor0 bceditor1 bceditor2 bceditor3 bceditor4 bceditor5 bceditor6 bceditor7 bceditor8 bceditor9

tbceditor-1's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.