         forceRedrawCursorAfterDelay()
     }
 
-    /// Inserts an horizontal ruler on the specified range
+    /// Replaces with an horizontal ruler on the specified range
     ///
     /// - Parameter range: the range where the ruler will be inserted
     ///

        delegate?.textViewDidChange?(self)
    }

    /// Inserts an image at the specified index
    ///
    /// - Parameters:
    ///     - range: the range where the image will be inserted

        delegate?.textViewDidChange?(self)
    }

    /// Replaces a Video attachment at the specified range
    ///
    /// - Parameters:
    ///   - range: the range in the text to insert the video
