Re: [PEPr] Changes in proposal for Text::Text_Highlighter

From: Date: Sat, 22 May 2004 06:04:23 +0000
Subject: Re: [PEPr] Changes in proposal for Text::Text_Highlighter
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-29535@lists.php.net to get a copy of this message
Andrey Demenev wrote:
do not change color for chunks containing whitespace only fixed error message changed innerColor to innerClass (and similar attributes as well) added error handling in generator updated docs Download http://blindman.dotgeek.org/projects/Text_Highlighter/Text_Highlighter-0.4.1.tgz Docs http://blindman.dotgeek.org/projects/Text_Highlighter/doc/ I have used PEAR_Error for error messages in the generator. When there are multiple errors, the error message becomes multiline. Should I use PEAR_ErrorStack instead ?
Yes. Be aware that PEAR_ErrorStack will remain alpha quality until it has had extensive field testing, but should keep a very stable API. There is one BC-breaking change to PEAR_ErrorStack::staticGetErrors() that is in CVS, I would recommend developing using the ErrorStack.php from php-src/pear/PEAR/ErrorStack.php, as it contains a few bugfixes/optimizations. Regards, Greg

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