Function CFAttributedStringReplaceAttributedString

Source
pub unsafe extern "C-unwind" fn CFAttributedStringReplaceAttributedString(
    a_str: Option<&CFMutableAttributedString>,
    range: CFRange,
    replacement: Option<&CFAttributedString>,
)
Available on crate features CFAttributedString and CFBase only.
Expand description

Replaces the attributed substring over the specified range with the attributed string specified in replacement. range should be valid. To delete a range of the attributed string, call CFAttributedStringReplaceString() with empty string and specified range.