Search Tools Links Login

SuperFastHTML-XML Highlighting

Highlights HTML/XML syntax using Regular expressions and extracts Tag Names and properties. This version utilizes the cappendstring class to speed up concatenations.
Thanks to M.Bartlema for opening my eyes to this wonderful class and for the great rtf color module!
This version writes raw RTF so it is very FAST!!!
Actually, if you only need to highlight all the text the regx speed can be almost doubled so let me know. Here I wanted to use the same regx for inline highlighting so it needed to properly highlight partial tag selections. The only propblem I know of with this regx is that it wont properly highlight a comment if it immediatly follows another tag without spaces i.e.
I am working on it, but I don't want to slow down the regx. Anyway, this one is good enough for most production code. Enjoy, and please vote if you like this code.

Original Author: RegX

API Declarations

Needs reference to MS regular expresions

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 69 times


Visual Basic 6

Posted: 9/3/2020 3:45:00 PM
Size: 107,358 bytes

Loading Comments ...


No comments have been added for this post.

You must be logged in to make a comment.