+2  A: 

You'll need to create a custom cell for this. I've noticed you asking a few similar questions in the past, so if you haven't started down the road of custom cells yet this would be a good opportunity to do so. It's not too difficult to do, it will be helpful in understanding how cells work, and there are plenty of tutorials and sample code examples to go from. Here's one example, I'm sure you can find plenty of others through Google. There's even one in the Xcode sample projects, I believe under one of the NSOutlineView examples (or at least there was back around 10.3).

Marc Charbonneau
I think the example your talking about is called SourceView. I believe it has a custom cell class in it.
Abizern