Convert NSLinkAttributeName to NSTextCheckingResult when setting text