NSAttributedRange category for Jantle