Difficulty of syntax highlighting in a win32 editor

I've been creating my notepad app lately using Win32, and im looking to add a couple of features that will challenge AND help me during school. I was wondering what the difficulty level would be to create an option to highlight c++ syntax or PHP syntax? Thanks for any info!
I've never done it but it sounds like a neat idea.
It wouldn't be too hard to highlight a predetermined list of keywords but it could be a challenge to efficiently update the changes between typing:
1
2
3
whil
while
whilee

efficiently and especially x words in between quotes " " without interrupting the user.
my 2 cents
Last edited on

I was wondering what the difficulty level would be to create an option to highlight c++ syntax or PHP syntax?


High.
Topic archived. No new replies allowed.