Colorer Library take5.alpha2
16 February 2003
Class changes
- Some classes renamed and moved into new locations.
- Region associations behaviour changed.
Now, RegionDefine is abstract class, and it's subtypes inherits
and extends color or other region information.
LineRegion class knows nothing about real color information.
Now it contains reference to RegionDefine subclass (instead of
inheritance, as it was).
HRC changes
- New style of file type detection is embedded.
Each type is detected with passed file name and first line of file's content.
But new behaviour takes into account filename matching and firstline matching
in equal rights. Each matching token has it's own weight, and required type
is selected as type with biggest summary weight.
Optionally, weight of filename or firstline matching token could be changed.
Colorer.exe
- New output mode - tokenizer (-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).
FAR Plugin
- New 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).