GithubHelp home page GithubHelp logo

level0r0s / tbceditor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lakraven/tbceditor

0.0 2.0 0.0 1.38 MB

An editor control for RAD Studio

Home Page: http://www.bonecode.com

License: MIT License

Pascal 100.00%

tbceditor's Introduction

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

Build requirements

Json Data Objects (included)

Delphi versions from XE4 to XE8 supported.

Eric Grange has made a Delphi XE backport: https://bitbucket.org/egrange/tbceditorxe

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

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;

Demo

TBCEditor Control Demo v1.0b.

The latest update: 12.05.2015 22:22, UTC+02:00

Screenshots

bceditor0 bceditor1 bceditor2 bceditor3 bceditor4 bceditor5 bceditor6

tbceditor's People

Watchers

0r0 avatar James Cloos 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.