Proposal for "Text_Highlighter"

» Metadata » Status
» Description
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. A command-line script for class generation is provided as well.
» Dependencies » Links
  • PEAR
  • XML_Parser
  • Console_Getopt
» Timeline » Changelog
  • First Draft: 2004-05-13
  • Proposal: 2004-05-13
  • Call for Votes: 2004-05-20
  • Andrey Demenev
    [2004-05-17 09:17 UTC]

    The package is updated

    * removed support for tags
    * coding standards
    * added command-line class generation script
    * updated docs
    * added highlighters for JavaScript, Python, DTD, MySQL, CSS
  • Andrey Demenev
    [2004-05-19 14:12 UTC]

    Added general SQL highlighter
  • Andrey Demenev
    [2004-05-20 05:18 UTC]

    Added diff highlighter