         let ranges = paragraphRanges(inString: list)
 
         let formatter = TextListFormatter(style: .ordered)
-        formatter.toggleAttribute(inText: list, atRange: ranges[0])
+        formatter.toggleAttribute(in: list, at: ranges[0])
 
         let lists = textListAttributes(inString: list, atRanges: ranges)
 

        let formatter = TextListFormatter(style: .ordered)

        // Toggle the 1st line as an Ordered List
        formatter.toggleAttribute(inText: string, atRange: NSRange(location: 0, length: 1))

        // And... undo?
        formatter.toggleAttribute(inText: string, atRange: NSRange(location: 0, length: 1))

        let ranges = paragraphRanges(inString: string)
        let lists = textListAttributes(inString: string, atRanges: ranges)

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

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

        return string
    }
