Ok, so im about to start was is my first major project which is going to be a .chm maker. (This is mainly because i couldn't find a free .chm maker on the net and thought it'd be a sorta cool project.)

The program will have a very basic HTML editor, my main question here is, is there any free online source code i can use for writing the HTML part of things as far as viewing it goes so i dont have to code every HTML tag into the editor myself?

I do plan to write the program itself in C++ using win32 API
Any other advice would be appreciated also.