Text_Highlighterpear.php.netSyntax highlightingText_Highlighter is a package for syntax highlighting.
It provides a base class provining all the functionality,
and a descendent classes geneator class.
The main idea is to simplify creation of subclasses
implementing syntax highlighting for particular language.
Subclasses do not implement any new functioanality,
they just provide syntax highlighting rules.
The rules sources are in XML format.
To create a highlighter for a language, there is no need
to code a new class manually. Simply describe the rules
in XML file and use Text_Highlighter_Generator to create
a new class.Stoyan Stefanovstoyanssttoo@gmail.comyesAndrey Demenevblindmandemenev@gmail.comyes2007-06-060.7.00.7.0betabetaPHP License- added new renderer - Array
- HTML renderer modified to extend Array
- more new renderers - BB, HTMLTags, JSON, XML, all extending Array
(feature requests #8704 and #9188 )
- new syntax definition - ABAP programming language (feature request #8809)
- linked elements to their online documentation option (request #7480)
- option to output code as unordered list (request #4640)
- option to set starting number when outputting code in ordered lists
(request #7077)
- option to set CSS class names mapping insead of using hardcoded
class names (request #7077)
- option to set a CSS style mappping instead of class names (request #7077)
- fixed /= issue when highlighting javascript (bug #11160)
- added sample CSS to the package (bug #11211)4.3.31.4.0b1PEARpear.php.net1.0XML_Parserpear.php.net1.0.1Console_Getoptpear.php.net1.0(*ix|*ux)windows0.7.00.7.0betabeta2007-06-06PHP License- added new renderer - Array
- HTML renderer modified to extend Array
- more new renderers - BB, HTMLTags, JSON, XML, all extending Array
(feature requests #8704 and #9188 )
- new syntax definition - ABAP programming language (feature request #8809)
- linked elements to their online documentation option (request #7480)
- option to output code as unordered list (request #4640)
- option to set starting number when outputting code in ordered lists
(request #7077)
- option to set CSS class names mapping insead of using hardcoded
class names (request #7077)
- option to set a CSS style mappping instead of class names (request #7077)
- fixed /= issue when highlighting javascript (bug #11160)
- added sample CSS to the package (bug #11211)