     ///
     /// - Returns: `true` if we should remove paragraph attributes, otherwise it returns `false`.
     ///
-    func mustRemoveSingleLineParagraphAttributes(afterInserting text: String) -> Bool {
-        return text.isEndOfLine()
+    func mustRemoveSingleLineParagraphAttributesAfterPressingEnter(input: String) -> Bool {
+        return input.isEndOfLine()
     }
 
 

    /// - Parameters:
    ///     - text: the text that was just inserted into the TextView.
    ///
    func ensureRemovalOfSingleLineParagraphAttributes(afterInserting text: String) {
        guard mustRemoveSingleLineParagraphAttributes(afterInserting: text) else {
            return
        }


            TextListFormatter(style: .unordered)
        ]

        for formatter in formatters where formatter.present(in: super.typingAttributes) {
            typingAttributes = formatter.remove(from: typingAttributes)

            let applicationRange = formatter.applicationRange(for: selectedRange, in: textStorage)
            formatter.removeAttributes(from: textStorage, at: applicationRange)
        }
    }
}
