pub fn parse_text(ui: &mut Ui, text: &str) -> Result<()>