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