The whole text, as a copy in temporary storage.
- edit: the text being edited.
edit: Text_Edit;
defer free_text_edit(*edit);
set_contents(*edit, "abc");
assert(contents(*edit) == "abc");contents :: (edit: *Text_Edit) -> string
The whole text, as a copy in temporary storage.
Parameters
- edit: *Text_Edit
- the text being edited.
Returns
- string
edit: Text_Edit;
defer free_text_edit(*edit);
set_contents(*edit, "abc");
assert(contents(*edit) == "abc");