PEAR::Text_Highlighter in Version 0.7.0 beta veröffentlicht

PEAR::Text_Highlighter in Version 0.7.0 beta veröffentlicht

Text_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.

Release date: 2007-06-06 18:32 UTC

Release state: beta

Changelog:

- 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)

Dependencies:

  • PHP Version: PHP 4.3.3 or newer
  • PEAR Package: PEAR 1.4.0b1 or newer
  • PEAR Package: PEAR 1.0 or newer
  • PEAR Package: XML_Parser 1.0.1 or newer
  • PEAR Package: Console_Getopt 1.0 or newer

Nähere Info und Download auf der PEAR-Homepage








XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



Blogroll

Lorem ipsum

These 3 boxes are widgets and can be edited through the admin page, just like the sidebar.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Impressum