Syntax highlighting on iPhone Text-Editor
Posted
by pbcoder
on Stack Overflow
See other posts from Stack Overflow
or by pbcoder
Published on 2010-05-08T09:36:09Z
Indexed on
2010/05/08
9:38 UTC
Read the original article
Hit count: 187
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!
© Stack Overflow or respective owner