HTML Syntax Highlighter and Basic HTML Editor

Category:
ASP, HTML and XML
Type:
Applications
Difficulty:
Advanced
Author:
Eric Banker

Version Compatibility: Visual Basic 5

More information:
This application will perform Syntax Highlighting on Html, ASP, Comments, and Html Attributes in a Rich Text box. It will not only highlight when the file is opened but it will also highlight while typing. You can open and save .html and .asp files with it, so the program serves as a basic HTML editor.

The Parser is slow so if anyone knows of a better way to do it please let me know. This code also demonstrates unlimited undo/redo, line - column display, basic editor functions, mapping quick keys to tags, and inserting tags.

Read the readme.txt file for instructions regarding registration of included ActiveX controls.


Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download colortest.zip