EControl Ltd.
ENG   RUS  

EControl Syntax Editor SDK

Overview

Developed for:

Delphi: 5,6,7,2005,2006,2007,2009, 2010, XE, XE2, XE3, XE4, XE5, XE6, XE7, XE8, XE10 Seattle, XE10.1 Berlin, XE10.2 Tokyo
C++Builder: 5, 6, 2006, 2007, 2009, 2010, XE, XE2, XE3, XE4, XE5, XE6, XE7, XE8, XE10 Seattle, XE10.1 Berlin, XE10.2 Tokyo
Delphi .Net: 8, 2005, 2006, 2007, 2009

EControl Syntax Editor SDK is powerful editing control with powerful syntax highlighting, text folding, text structure tree, custom formatting, embedded images and controls, etc.
Library contains 41 components to build professional applications.

The unique and more important feature is 100% customizable lexer, so you can adjust it for any type of text file without programming, export, import, merge syntax definitions easily.

As an example you can view default Lexer Library. This library contains lexers for file types: C++, Pascal, Basic, SQL, Delphi Resources, HTML, XML, Style sheets, Ini files, Help Contents, Batch files, Assembler, Java, PL SQL, ...

Editor features (of the editor control)

  • CodeGear RAD Studio like editor.
  • Unlimited text length.
  • Fast loading huge files.
  • UNICODE support (IME, right-to-left ...).
  • 100% customizable lexer, so editor is suitable for any plane text format. Lexer is a resource that may be created and manipulated at design time and at runtime. Lexer uses standard VCL streaming and stores itself in DFM text format.
  • Comfortable visual lexer editor.
  • Powerful and customizable highlighting.
  • Text folding, any determined text range or user range may be collapsed.
  • Gutter with multiple bands, line numeration, gutter objects (images) that are customizable at design time. Line highlighting, image, hint, position may be associated with the gutter object (for example, like breakpoint or current execution point).
  • Normal, column-oriented and line selection, clipboard operations.
  • Hint subsystem. Now hints available for text tokens, expanding button, gutter objects, vertical scroll.
  • Export to RTF, HTML file with syntax highlighting.
  • Copy selection to clipboard in RTF.
  • Multiple dragable right margins, persistent blocks, keep caret in text and numerous other options.
  • User ranges allows custom lexer independent highlighting and text folding.
  • Stack-based markers like in CodeRush
  • Unlimited bookmarks.
  • Animation allows to mark out some position in text.
  • Powerful search/replace (regular expressions, search all ...).
  • Incremental search.
  • Active spell checking.
  • Hyperlinks highlighting.
  • Multiple Sync Edit regions.
  • Insert character popup grid.
  • Zoom
  • Multiple replacements tool
  • Embedded in text images and controls support
  • Smart tags
  • Horizontal ruler
  • User formatting
  • Enhanced caret
  • Transparency

Highlighting features

  • Highlighting styles can use any font.
  • Text border styles.
  • Syntax highlighting associated with simple lexical elements (tokens).
  • Text range (sequence of tokens) highlighting. Any detected text range can have style that will be merged with token styles.
  • Nested lexers highlighting . Combining several lexers in one using "Sub Lexer" rules.
  • Highlighting of the user ranges (over lexer defined highlighting).
  • Active highlighting depended on caret position. Highlights valid blocks (for example, current procedure, brackets, "begin" ... "end" blocks ...).
  • Line highlighting associated with text ranges, caret position, gutter objects or custom.
  • Powerful style merging (token style, text range style, dynamic style, …)
  • Text partition by means of line separators like in Visual Basic IDE.
  • Hierarchical text representation using block staples.
  • Hiding parts of the text using Hidden attribute of the style.
  • ReadOnly style attribute - allows partially protect text.
  • Highlighting of syntax tree nodes (in syntax tree view) .
  • User formatting.

Code automation features

  • TAutoCompletePopup. Improved auto completion with starting timer, using custom styles and images for rendering list items.
  • TTemplatePopup. Improved Code templates. It is possible to use multiple code template with different key strokes.
  • TParamCompletion - code parameter hints with formatting and images supports .
  • TSyntAutoReplace - auto replace plug-in (auto correction of user input).
  • TecMacroRecorder - records and plays macros.
  • Auto-closing text ranges.

Library features

  • EControl Regular Expression library (with .Net support). Own regular expressions compiler, it also provides back-testing.
  • TSyntaxTreeView provides easy navigation and text structure view!
  • TSyntTextSource component allows sharing single text between several Syntax Editors.
  • TSyntKeyMapping component provide ability to assign key shortcuts to editor commands.
  • TecSyntPrinter. Output to printer with syntax highlighting.
  • TecSyntPreview. Print preview control.
  • TPropsManager - share settings between several objects and save/load to/from ini/registry.
  • TUserStylesCombo - combo box for selecting user style while formatting text.
  • THyperlinkHighlighter - hyperlinks highlighting.
  • TecDictionary - manager of dictionaries for spell checking.
  • TecSpellChecker - spell checker.
  • TDBSyntaxMemo - DB version of syntax editor.
  • TecFormPrinter - printer component for printing forms.
  • TecMemoStateStorage - saves/restores editor state.
  • TecSingleInstance - component to manage instances of the application.

Descendent Controls

  • TSyntaxEdit - Single line syntax edit control. All power of syntax memo in edit control: highlighting, extended commands, completion, etc.
  • TSingleButtonSyntaxEdit - Single line edit control with a button.
  • TSpinSyntaxEdit - Single line edit control with up/down. It's suited for editing integer, float, date and time values.
  • TSyntaxComboBox - Combo box based on syntax edit and auto-completion popup list. Use highlighting in edit field and formatting of drop-down list. Ability to create multiline combo boxes.
  • TDurationEdit - Special edit control to edit time interval.
  • TBtnSyntaxEdit - Syntax edit with arbitrary number of customizable buttons.
  • TColumnSyntaxEditor - Special descendent of syntax memo for editing TAB separated text files.
Copyright © EControl Ltd., 2004 - 2017