pub fn set_text_properties<'ob>(
start: usize,
end: usize,
properties: Gc<ObjectType<'ob>>,
object: Gc<ObjectType<'ob>>,
env: &mut Rt<Env<'_>>,
) -> Result<()>
Expand description
Completely replace properties of text from START to END. The third argument PROPERTIES is the new property list. If the optional fourth argument OBJECT is a buffer (or nil, which means the current buffer), START and END are buffer positions (integers or markers). If OBJECT is a string, START and END are 0-based indices into it. If PROPERTIES is nil, the effect is to remove all properties from the designated part of OBJECT.