Writes trace string to the multiline text.
Reimplemented in xtd::forms::debug_form, and xtd::forms::trace_form.