UKSyntaxColoredTextDocument for macOS

Download Source

An NSViewController (and optional document class) that implements syntax coloring and code editing-related features in an NSTextView.