Thanks to the Xcode view inspector I just learned that NSTextView is implementing the insertion cursor as a separate subview.