10.8 TextEdit from https://developer.apple.com/library/mac/#samplecode/T...

...extEdit/Introduction/Intro.html