[PEPr] Comment on Text::Text_Highlight
| From: | PEPr | Date: | Tue, 06 Apr 2004 05:12:09 +0000 |
| Subject: | [PEPr] Comment on Text::Text_Highlight | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-27074@lists.php.net to get a copy of this message | ||
Stefan Neufeind (http://pear.php.net/user/neufeind) has commented on the proposal for
Text::Text_Highlight.
Comment:
First of all, thank you Davey for taking the time to propose this!
I'm missing a highlighter for SQL - but with the existing code this shouldn't be too much
of a problem.
How about being able to use CSS instead of direct colors?
And wouldn't maybe a solution which outputs an array of color-markups, e.g. for output to a
PDF, instead of writing "between" the code be a good solution? (Though I'm currently
unsure about the overhead this introductes.)
Anyway, I'm not sure if the regex-approach is the best solution. Wouldn't a real
"parser" (promised to come hopefully soon, by Greg) allow for more reliable or maybe
faster markup? I'd love to hear Greg about this.
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=45
--
Sent by PEPr, the automatic proposal system at http://pear.php.net