Updated NSTextView example.