I'm working on Cocoa Application that should be able to analyze and highlight a source code written in such languages as Objective-C, SQL, JavaScript, Python etc. The text should be editable too (by using NSTextView, for example).
Please advise what is the best way to implement such feature in Mac OS X 10.5.
There is no need to support auto-completion and other extra-features. Simple formatting by keywords, strings, #includes, and numbers but with cool performance is just OK.
Also, it would be great if configuration by languages were supported.
Thanks!
In preparing a project that will require something similar, I’ve found the following (but not evaluated them in depth):