I am working on a Cocoa Application, which should be able to parse and extract source code written in languages such as Objective-C, SQL, JavaScript, Python, etc. The text should also be editable (using NSTextView, for example).
Please advise what is the best way to implement this feature on Mac OS X 10.5.
No need to support autocomplete and other advanced features. Simple formatting by keywords, lines, #includes and numbers, but with excellent performance, is fine.
It would also be great if the language setting was supported.
Thank!
objective-c cocoa syntax-highlighting nstextview
Stream Apr 16 '09 at 3:00 2009-04-16 03:00
source share