 
         // Apply the Ordered List style to the last three paragraphs
         for (index, range) in paragraphRanges(inString: string).enumerated() where index >= 2 {
-            formatter.toggleAttribute(inText: string, atRange: range)
+            formatter.toggleAttribute(in: string, at: range)
         }
 
         // Now... toggle an Ordered List on the full text
-        formatter.toggleAttribute(inText: string, atRange: string.rangeOfEntireString)
+        formatter.toggleAttribute(in: string, at: string.rangeOfEntireString)
 
         // Verify
         let paragraphs = paragraphRanges(inString: string)

        let length = plainRanges[1].location + plainRanges[1].length
        let range = NSRange(location: 0, length: length)

        unorderedListFormatter.toggleAttribute(inText: list, atRange: range)

        let textList = list.textListAttribute(atIndex: 0)
        XCTAssert(textList != nil)

        let string = NSMutableAttributedString(string: plainText)
        let formatter = TextListFormatter(style: .ordered)

        formatter.toggleAttribute(in: string, at: string.rangeOfEntireString)

        return string
    }
