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. General Programming
  3. C / C++ / MFC
  4. CEdit extended

CEdit extended

Scheduled Pinned Locked Moved C / C++ / MFC
debuggingcsharpc++visual-studioquestion
2 Posts 2 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.
  • W Offline
    W Offline
    William Engberts
    wrote on last edited by
    #1

    Hi guys, For our company I have written (meanwhile some 15 years ago!) a data mapping tool. This tool has evolved over the years and it is currently in C++, using Microsoft Visual Studio 2010. One of the products for this tool is a debugger that shows what is happening and shows the source code lines where action is performed. This part uses a CEdit control. We have included stuff like breakpoint markers and all that. Recently I have come to think that it might be handy to introduce syntax highlighting for the source codes. Would anyone have any samples of a CEdit that can do that sort of thing (like changing the color of words, showing them in bold or italics and stuff like that) Would save me a lot of re-inventing the wheel! Thanks in advance for any suggestions.

    J 1 Reply Last reply
    0
    • W William Engberts

      Hi guys, For our company I have written (meanwhile some 15 years ago!) a data mapping tool. This tool has evolved over the years and it is currently in C++, using Microsoft Visual Studio 2010. One of the products for this tool is a debugger that shows what is happening and shows the source code lines where action is performed. This part uses a CEdit control. We have included stuff like breakpoint markers and all that. Recently I have come to think that it might be handy to introduce syntax highlighting for the source codes. Would anyone have any samples of a CEdit that can do that sort of thing (like changing the color of words, showing them in bold or italics and stuff like that) Would save me a lot of re-inventing the wheel! Thanks in advance for any suggestions.

      J Offline
      J Offline
      Jochen Arndt
      wrote on last edited by
      #2

      I think the best solution would be to replace the CEdit control by a CRichEditCtrl. It can do all the things you want.

      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