HTML Formattor

Can someone help me write a code that formats a HTML document in a RichTextBox?

Like making the <HTML> tag bold, changing the color of the SRC field in the <IMG> tag.

Something like, you know, in Frontpage Express (or other versions), when you want to view the HTML source rather then the WYSIWYG, Frontpage highlights the HTML tags and SRCs. I want it to be like that.

And also, I want to be able to change the formating whenever I want. Like bold for <HTML>, italic for <BODY> etc...

500 points for the right one.
jackjokerAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
rwilson032697Connect With a Mentor Commented:
jackjoker: You said "But since you didn't post any code, so you'll much less points. Deal? "

Would you have preferred I posted the 100+K of code for the mwEdit source here? I don't think so... Isn't a pointer to source an implicit include of that source anyway?

You should grade the answer depending on how it meet the requirements of your question.

You asked for source for an HTML syntax highlighter/formattor. I believe I pointed you at something that meets those requirements very well...

Cheers,

Raymond.
0
 
interCommented:
Hi,
There is a wonderfull fast component that could highlight anything like HTML, Pascal, C++ but no source (source is $25) do you want it? or should we try to write our own

igor
0
 
SlavakCommented:
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
interCommented:
yes that is it...
0
 
rwilson032697Commented:
Try this one:

http://www.eccentrica.org/gabr/mw/mwedit.htm

Its a free with source editor with numerous syntax highlighting methods, including HTML!

Cheers,

Raymond.
0
 
jackjokerAuthor Commented:
rwilson, do you know how to install that thing? I can't find any package files!

I hope someone will post code to my question. I'm not telling you to list out every HTML command. Maybe you can write a code that reads from a ListBox that contains all the HTML commands, which I can add in myself.
0
 
rwilson032697Commented:
Add mwEditReg.pas to a new or existing package and away you go.

BTW its the development version which has the HTML syntax highlighting (as I am sure you have noticed).

Seems to be quite good - I use it in SiteSplicer.

Cheers,

Raymond.
0
 
jackjokerAuthor Commented:
Development version?

I only see an official release and an interal beta. Where is the development version?
0
 
rwilson032697Commented:
The internal beta is the development version...

Cheers,

Raymond.
0
 
simonetCommented:
Have you had the answer you were looking for yet?
0
 
jackjokerAuthor Commented:
I accept the mwEdit as an answer. But since you didn't post any code, so you'll much less points. Deal?

Post an answer.
0
All Courses

From novice to tech pro — start learning today.