VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



HTML Syntax Highlighter Control

by Adam Ruggles (4 Submissions)
Category: Internet/HTML
Compatability: Visual Basic 5.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (22 Votes)

I created this control because there are a few good html syntax highlighting programs on VBC but none of the good ones are controls that are easiy put into one's program. This control supports basic highlighting, undo and redo, ability to change the font, fast copy and paste routines.
I have use code from the following projects on VBC to make this and would like to give them credit:
EzColorCode - Html Syntax Highlighting
by Eric Banker
SuperFastHTML-XML Highlighting
by RegX

Inputs
When changing fonts from your main program first set the font attributes then run the sub procedure called SetNewFontInfo()
Side Effects
I have had a lot of trouble with Coloring comments on the fly so if you enclode any code that was not previously commented out hit f5 to refresh the richtextbox and it should then be colored correctly.

Rate HTML Syntax Highlighter Control

Download HTML Syntax Highlighter Control

Download HTML Syntax Highlighter Control (18 KB)

HTML Syntax Highlighter Control Comments

No comments have been posted about HTML Syntax Highlighter Control. Why not be the first to post a comment about HTML Syntax Highlighter Control.

Post your comment

Subject:
Message:
0/1000 characters