Search Tools Links Login

Fast HTML highlite7


HTML syntax highlite using regular expressions
This is meant as a regular expressions tutorial.
This new version contains an extra form with
Heavy commenting.
Will properly highlight syntax that stumps most syntax highlighters.
Also includes inline syntax highlighting
although this isn't nearly as good as the main
colorHTML funtion.
I have also added a button that runs the regular expression without highlighting the rtf text.
I added this because people have complained that this code isn't that fast.
The regular expresions are very fast.
Selecting the text and changing the color in the rtf box is what is slow. Of all the html syntax highlighters I have seen posted here this is the Fastest accept for one that writes raw rtf to a file. I have been playing with this to see if I can speed this one up the same way.
Comments and suggestions welcome.
and Please Vote.

Original Author: RegX

API Declarations

' Needs reference to Microsoft VBscript Regular Expressions.
I reccomend 5.5
' Get it at http://msdn.microsoft.com/downloads/default.asp?URL=/downloads/sample.asp?url=/msdn-files/027/001/733/msdncompositedoc.xml

About this post

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

Categories

Visual Basic 6

Attachments

Fast HTML 3151710272001.zip
Posted: 9/3/2020 3:45:00 PM
Size: 26,968 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.