aboutsummaryrefslogtreecommitdiff
path: root/textproc/pear-Text_Highlighter
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-12-31 00:16:23 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-12-31 00:16:23 +0000
commitf63b0fc761df77c794c7a223d5694f67e0f1ced1 (patch)
treee35bc2bd7961b7c9bd777892f3b209be7a947319 /textproc/pear-Text_Highlighter
parent0d7efa9686c5ab038cf9fea0ebef199a41c54e58 (diff)
downloadports-f63b0fc761df77c794c7a223d5694f67e0f1ced1.tar.gz
ports-f63b0fc761df77c794c7a223d5694f67e0f1ced1.zip
Notes
Diffstat (limited to 'textproc/pear-Text_Highlighter')
-rw-r--r--textproc/pear-Text_Highlighter/pkg-descr22
1 files changed, 15 insertions, 7 deletions
diff --git a/textproc/pear-Text_Highlighter/pkg-descr b/textproc/pear-Text_Highlighter/pkg-descr
index a7806b6d8a79..44de9178cef6 100644
--- a/textproc/pear-Text_Highlighter/pkg-descr
+++ b/textproc/pear-Text_Highlighter/pkg-descr
@@ -1,9 +1,17 @@
-File_Fortune provides a PHP interface to reading fortune files. With it, you may
-retrieve a single fortune, a random fortune, or all fortunes in the file.
+Text_Highlighter is a package for syntax highlighting.
-Additionally, it offers the ability to access fortune files as if they were a
-native array, including updating and deleting items. All write operations will
-produce a binary header file to allow compatability with the fortune and
-fortune-mod programs (as well as other fortune interfaces).
+It provides a base class provining all the functionality,
+and a descendent classes geneator class.
-WWW: http://pear.php.net/package/File_Fortune/
+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.
+
+WWW: http://pear.php.net/package/Text_Highlighter