             typingAttributes = storage.attributes(at: selectedRange.location, effectiveRange: nil)
         }
 
-        delegate?.textViewDidChange?(self)
+        textViewDidChange()
         formattingDelegate?.textViewCommandToggledAStyle()
     }
 


        selectedRange = NSRange(location: finalRange.location + finalRange.length, length: 0)

        delegate?.textViewDidChange?(self)
    }

    /// Adds a link to the designated url on the specified range.

            self?.undoTextReplacement(of: originalString, finalRange: finalRange)
        })

        textViewDidChange()
    }

    func undoTextReplacement(of originalText: NSAttributedString, finalRange: NSRange) {
