         let formatter = TextListFormatter(style: .ordered)
 
         // Toggle the 1st line as an Ordered List
-        formatter.toggleAttribute(inText: string, atRange: NSRange(location: 0, length: 1))
+        formatter.toggleAttribute(in: string, at: NSRange(location: 0, length: 1))
 
         // And... undo?
-        formatter.toggleAttribute(inText: string, atRange: NSRange(location: 0, length: 1))
+        formatter.toggleAttribute(in: string, at: NSRange(location: 0, length: 1))
 
         let ranges = paragraphRanges(inString: string)
         let lists = textListAttributes(inString: string, atRanges: ranges)


        // Toggle Ordered List on the first line
        let formatter = TextListFormatter(style: .ordered)
        formatter.toggleAttribute(inText: list, atRange: ranges[0])

        let lists = textListAttributes(inString: list, atRanges: ranges)


        XCTAssert(NSEqualRanges(list.range(of: textList!, at: 0)!,range))

        // Toggle
        orderedListFormatter.toggleAttribute(in: list, at: list.rangeOfEntireString)

        // Verify
        let items = textListAttributes(inString: list, atRanges: paragraphRanges(inString: list))
