Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Syntax coloring for Cocoa app

I'm planning to do a Cocoa app that requires code syntax to be colored (in all common languages). Instead of writing my own code highlighter/parser, are there any pre-made solutions available?

Thanks

like image 705
indragie Avatar asked Dec 18 '22 05:12

indragie


1 Answers

You might be able to use something like Geshi, but there're also the resources listed here: http://www.cocoadev.com/index.pl?SyntaxHighlighting

Edit

More links:

  • Syntax Highlighting in Cocoa TextView? Experiences? Suggestions? Ideas?
  • http://parsekit.com/okudakit/
like image 74
Dave DeLong Avatar answered Dec 19 '22 19:12

Dave DeLong