Skip to main content

edit_text

Function edit_text 

Source
pub fn edit_text(obj: &Object, s: &Settings) -> Result<String, Error>
Expand description

Text of obj to edit and compile again (the palette’s editor), in settings made by Settings::for_editing: text, but a tagged object as :tag:object, which compiles. An error for an object with no such text: a part without text (has_text), a string holding " (the calculator has no way to write one), or text cut at MAX_TEXT.