Re: [PEPr] Call for votes on Text::Text_Highlight
| From: | Davey | Date: | Mon, 12 Apr 2004 21:44:27 +0000 |
| Subject: | Re: [PEPr] Call for votes on Text::Text_Highlight | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-27500@lists.php.net to get a copy of this message | ||
Pepr wrote:
Davey Shafik (http://pear.php.net/user/davey) has initiated the call for votes on the package Text::Text_Highlight. Please review the package and give your vote here: http://pear.php.net/pepr/pepr-proposal-show.php?id=45Just wanted to note where the development of this package is going: First I want to move from static class calls to objects - this allows for a much more advanced highlighter (think along the lines of phpDocumentors output with links to documentation and such) - this is being done on the suggestion of Greg. Secondly, I am working on a JavaScript highlighter. Lastly, I am thinking of moving to this sort of syntax: $highlight = new Text_Highlight; $highlight->setHighlighter('XML'); $highlight->highlight($xml_code); $highlight->toHTML(); Not sure on this, comments welcome - it will mean parsing to an intermediate format first... then forming it on the toHTML() call - doubling the overhead effectively IMO.... - Davey