View Full Version : C++ : Highlighting and Context Menus
darkmonkey
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.
Cheers,
Darkmonkey
darkmonkey
11-01-2004, 02:14 AM
Nobody got any ideas? Even a kick in the right direction for some source for syntax highlighting?
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/
darkmonkey
11-01-2004, 04:45 PM
Cheers. I'll have a look.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.