...

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



darkmonkey
10-31-2004, 12: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, 01:14 AM
Nobody got any ideas? Even a kick in the right direction for some source for syntax highlighting?

aman
11-01-2004, 06: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/

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum