pub fn edit_content_insert_text( text_file: &mut RichTextDocument, byte_idx: usize, text: String, ) -> Option<TextEdit>