UI module

contents

procedureextensionexperimentalsince 0.31.0Source

The whole text, as a copy in temporary storage.

Example↗
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
Example↗
edit: Text_Edit;
defer free_text_edit(*edit);
set_contents(*edit, "abc");
assert(contents(*edit) == "abc");

See also