Re: Re: [PEPr] Changes in proposal for Text::Text_Highlighter
| From: | Andrey Demenev | Date: | Tue, 25 May 2004 14:22:45 +0000 |
| Subject: | Re: Re: [PEPr] Changes in proposal for Text::Text_Highlighter | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev php.pear.dev |
| Request: | Send a blank email to pear-dev+get-29633@lists.php.net to get a copy of this message | ||
Jon Wood wrote:
Would it be possible for the MySQL specific highlighter to extend a general SQL highlighter, making it possible for people to simply extend the core SQL standard highlighter for things like Postgre and Oracle as well?If take a more close look at the package, you'll find out that creating a new highlighter is just a process of describing the highlighting rules in XML format. One could take the XML for general SQL and edit it to conform standards of a certain SQL dialect. That is really simple. At the moment I don't see any reason to implement any kind of inheritance. If you know such a reason, please let me know, -- Andrey Demenev aka Blindman demenev@on-line.jar.ru