Re: syntax highlight class

From: Date: Sat, 08 Jun 2002 12:24:41 +0000
Subject: Re: syntax highlight class
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-6800@lists.php.net to get a copy of this message
> I'm currently working on a PEAR Class for Highlighting Source Code. It's > matching the PEAR-Coding Standard but not ready at all. Excellent! > First I thought about having Syntax Modes in XML-Documents like jEdit, > but it's really hard to parse them, so I have managed it with several > php-files which contain the language-elements. Oh man, you need XML_XPath, you can move through XML like butter with this class, and it is dang fast. And since you said that it could be a while before you finish then you could probably lean on the fact that people will have domxml...just a thought. > I have already looked at beautifier, but I think it would be more work > to "pearify" it, than to write a new class (with more features) I hear you, some of these classes on the web are just junk...really, I just like take other classes because me and a clean slate get it on like an impotent man with a virgin (hey, I can't help what comes out of my mind). Anyway....good luck and let me know if you need help...I will probably promise more than I can do and then do it... Dan -- ________________________________________________________________ Daniel Allen, <dan@mojavelinux.com> http://www.mojavelinux.com/ ________________________________________________________________ "The Linux philosophy is to laugh in face of danger. Oops. Wrong one. 'Do it yourself' That's it" -- Linus Torvalds ________________________________________________________________

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