Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Nov 2003
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    C++ : Highlighting and Context Menus

    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

  • #2
    New Coder
    Join Date
    Nov 2003
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Nobody got any ideas? Even a kick in the right direction for some source for syntax highlighting?

  • #3
    Regular Coder
    Join Date
    Oct 2004
    Posts
    230
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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/

  • #4
    New Coder
    Join Date
    Nov 2003
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Cheers. I'll have a look.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •