syntax highlighting for textbox

This is a discussion on syntax highlighting for textbox within the Windows Programming forums, part of the Platform Specific Boards category; Anyone know where to looks for ideas on how to do syntax highlighting in a windows text editor? I know ...

  1. #1
    Registered User
    Join Date
    Jul 2004
    Posts
    3

    syntax highlighting for textbox

    Anyone know where to looks for ideas on how to do syntax highlighting in a windows text editor? I know how to change the text color of the entire window but how do I set it based on syntax? I'm assuming I need some regexp type function and markup the text into sections then use SetTextColor() but all of this is guessing.

    BTW I'm using the raw API.

    thanx

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    ... moving to the Windows forum...
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. more then 100errors in header
    By hallo007 in forum Windows Programming
    Replies: 20
    Last Post: 05-13-2007, 09:26 AM
  2. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  3. Using VC Toolkit 2003
    By Noobwaker in forum Windows Programming
    Replies: 8
    Last Post: 03-13-2006, 07:33 AM
  4. Connecting to a mysql server and querying problem
    By Diod in forum C++ Programming
    Replies: 8
    Last Post: 02-13-2006, 10:33 AM
  5. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 07:39 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21