Select all the text.
- edit: the text being edited.
edit: Text_Edit;
defer free_text_edit(*edit);
set_contents(*edit, "abc");
select_all(*edit);
assert(selected_text(*edit) == "abc");select_all :: (edit: *Text_Edit)
Select all the text.
Parameters
- edit: *Text_Edit
- the text being edited.
edit: Text_Edit;
defer free_text_edit(*edit);
set_contents(*edit, "abc");
select_all(*edit);
assert(selected_text(*edit) == "abc");