Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Article Writing
  4. HTML Syntax Highlighting

HTML Syntax Highlighting

Scheduled Pinned Locked Moved Article Writing
c++helphtmlquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jeff
    wrote on last edited by
    #1

    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

    P U 2 Replies Last reply
    0
    • J 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

      P Offline
      P Offline
      Paul Selormey
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • J 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

        U Offline
        U Offline
        User 1340
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups