Refactoring. Started new NSTextView category.