[PEPr] +1 for Text::Text_Highlighter

From: Date: Thu, 20 May 2004 13:08:29 +0000
Subject: [PEPr] +1 for Text::Text_Highlighter
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-29444@lists.php.net to get a copy of this message
Greg Beaver (http://pear.php.net/user/cellog) has voted +1 on the proposal for Text::Text_Highlighter. Proposal information: http://pear.php.net/pepr/pepr-proposal-show.php?id=72 Vote information: http://pear.php.net/pepr/pepr-vote-show.php?id=72&handle=cellog This vote is conditional. The condition is: Great package The only problem is that it will not be able to do cross-referencing the way phpDocumentor does it, as it must also be possible to know the current code syntax to do this. Perhaps in the future, a plugin system could be designed that allows an external parser/tokenizer to pass tokens into the highlighter? That's my only condition - if the highlighting callback took 2 arguments, the token, and what text should be highlighted as if it were the token, then we would be in business. For the initial release, this is not crucial, but I will absolutely need this feature to be able to use this package in phpDocumentor for PHP code, and I do want to use it. In its current state, it will be used for other things like javascript/html surrounding PHP code, xml and tutorials, and so on. -- Sent by PEPr, the automatic proposal system at http://pear.php.net

« previous php.pear.dev (#29444) next »