I like the way Kaleidescope does it in its "Text Scope". Anyone know how they did it or what they used? NSTableView, NSTextView?
+2
A:
The Blame view in Versions (also made by Sofa) uses an NSTableView. I'd guess that they're doing the same thing here. Create an NSTableView with a column for the line numbers, a column for the code, use a monospaced font and tweak the formatting. That will get you pretty close to what they're doing there.
Reed Olsen
2010-10-30 00:26:35
awesome. that was my suspicion. Thanks!
Benny Wong
2010-10-31 16:02:56