Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Open Source Objective-C Syntax Highlighter?

Can anyone point me in the direction of a project / framework / tutorial, preferably in Objective-C (or C/C++ I guess), that will demonstrate / handle syntax highlighting? I'd like it to work off of, and onto, the contents of a UITextView (iPhone / iPad), and I'd like it to support minimum, PHP, but preferably also Javascript / CSS / HTML, etc. I've had absolutely no luck googling, everything seems to be blog plugins, etc, for displaying colored content on your site in < pre > tags. I don't need it to do any syntax checking, just the coloring.

Thanks!

like image 856
Josh Avatar asked Mar 15 '26 06:03

Josh


1 Answers

review the source code of TexShop (http://pages.uoregon.edu/koch/texshop/) or Smultron (http://smultron.sourceforge.net/)

like image 105
Cesar A. Rivas Avatar answered Mar 17 '26 20:03

Cesar A. Rivas



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!