Syntax highlighting on iPhone Text-Editor
- by pbcoder
Hi,
I want to write a simple text editor for iPhone with syntax highlighting support for c,c++.
But the problem is, I dont't know how to do this. The first solution I was thinking about, was to go over the text and highlight keywords when the value of the UITextView has changed, but I think that if I got more than 1000lines of code that doesn't work very well.
Thanks for help!