View Full Version : C++ : Highlighting and Context Menus

10-31-2004, 01:05 AM
Im looking to add 2 functions into a little app Im currently developing, and would much appreciate it, if somebody could help. I want to add a command to the context menu or right click menu of an edit box, and the ability to recognise some code and highlight it (regexp?). I dont have a clue for either, so any help is welcome.


11-01-2004, 02:14 AM
Nobody got any ideas? Even a kick in the right direction for some source for syntax highlighting?

11-01-2004, 07:06 AM
You need a text parser to go through and highlight the code... check google for "code highlight source", it comes up with many results like this one that includes the source code http://www.andre-simon.de/

11-01-2004, 04:45 PM
Cheers. I'll have a look.