# Colorer-take5 Library Features

- Colorer supports more than hundred programming languages, scripts and markups.
- Colorer uses powerful and flexible HRC syntax description language, based on regular expressions and scheme (context) structure.
- Colorer can be easily integrated into any target application.
- Internal unicode support: Knows about UTF-8, UTF-16, UTF-16BE, UTF-32, UTF-32BE.
- Any single-byte encodings support.

## HRC language design

- Separate type namespaces.
- Free linking between schemas (forward inheritance and switch references).
- HRC Region information extension, region inheritance tree, transparent HRC linking.
- HRC Entities, `regexp` and `block` flexible declarations using CDATA sections.

## Central repository

- All Colorer applications uses repository in `catalog.xml` file.
- Automatic catalog.xml searching with environment variables and standard locations.
- Multiple HRC sources, directory HRC source.
- HRD classes, names and descriptions.
- Global logging file.
- Different input data sources: File stream, Zip stream, Http stream (win32 only).

# Eclipse Colorer

- Powerful and flexible outliner for all common languages.
- Errors list is included into the outliner view.
- Shortcuts for pairs matching.
- Replace tabs with spaces option.
- Soft linebreakes option.
- Colored sources generation into HTML files.

# Colorer.exe

- Console viewing with unicode characters (win32).
- Colorized HTML output from rgb HRD color schemas.
- Simple file forward with encoding conversion.
- HTML and file output into stdout or specified file.
- Tokenizer output mode (-ht option). With this mode colorer outputs target file with each token marked with specific style (equals to the name of it's HRC region).
- HTML output mode uses font style information and can format sources with bold, italic and underline properties.

# FAR Plugin

- Top level highlight caching, parse on request (FAR >= 1.70).
- File Encoding selection.
- Color schemes dialog selection.
- Prototype parameters handling - default-fore, default-back. With this numeric properties you can change default text and background color in any file type.
- If exception is ocurred while text processing, colorer stops it's job and disables any further text coloring.
- Paired constructions are searched now on all the text.
- FAR command line prefix 'clr' allows to run internal colorer's viewer and to view files with syntax highlighting.
- Works with outlined text structure (functions and errors list at now).
- Much faster performance (x2) was achieved int FAR's editor because of previously used multiple requests of each FAR's line. This makes great leak of cpu usage. Also, effective method of line text requesting is used in all possible actions.
- Internal Library text lines requests has changed to make processing faster. Now, FAR plugin works faster because less lines data requests.
- Structured presentation of created outliner. All elements are displayed in tree, also, for each element, prefix-char is shown. You can collapse or extend tree with `Ctrl-Left/Right`.