HTML Syntax Highlighting
-
Does anyone know a way to have colored text for a simple HTML editor in Visual C++? I need it to be colors that can be changed by the user from an options dialog so there should be some easy way to change the colors from the code. The basic framework for my application is going to be the standard text editor from the MFC app wizzard. Can anyone help me? E-Mail me and maby I can explain my problem a little bit better. Thanks alot, Jeff
-
Does anyone know a way to have colored text for a simple HTML editor in Visual C++? I need it to be colors that can be changed by the user from an options dialog so there should be some easy way to change the colors from the code. The basic framework for my application is going to be the standard text editor from the MFC app wizzard. Can anyone help me? E-Mail me and maby I can explain my problem a little bit better. Thanks alot, Jeff
Check the crystal syntax coloring editor by Andrei for this, located at http://www.codeproject.com/editctrl/crysedit.asp You may also check the codeguru site for a startup html parser to go with it, may need some modifications... http://codeguru.earthweb.com/mfc/comments/2006.shtml Need more? get in touch with the others. Regards, Paul.
-
Does anyone know a way to have colored text for a simple HTML editor in Visual C++? I need it to be colors that can be changed by the user from an options dialog so there should be some easy way to change the colors from the code. The basic framework for my application is going to be the standard text editor from the MFC app wizzard. Can anyone help me? E-Mail me and maby I can explain my problem a little bit better. Thanks alot, Jeff
There is a very good Open Source project which do that and many other interesting things: Scintilla and SciTE by Neil Hodgson, Look at: http://www.scintilla.org Hope this help, Jran-Claude