Advertisement
6_2008-2009 Internet/ HTML #205119

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.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Upload
Original Comments (3)
Recovered from Wayback Machine