CEdit extended
-
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.
-
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.
I think the best solution would be to replace the
CEdit
control by aCRichEditCtrl
. It can do all the things you want.