pub fn edit_text(
content: &[InlineContent],
selections: &[Selection],
edit: &TextEdit,
) -> (Vec<InlineContent>, Vec<Selection>)Expand description
The primary entry point for text modification. Takes the current content and selections, applies an edit, and returns the new content and the resulting cursor positions.