get-text in text%
Returns the contents of the editor in text form.
(-> stringsenda-textget-textstartendflattened?force-cr?)
start=0: exact non-negative integer
end=: exact non-negative integer or'eof'eof
flattened?=#f: boolean
force-cr?=#f: booleanGets the text from
starttoend. Ifendis'eof, then the contents are returned fromstartuntil the end of the editor.If
flattened?is not#f, then flattened text is returned. See Getting Text for a discussion of flattened vs. non-flattened text.If
force-cr?is not#fandflattened?is not#f, then automatic carriage returns (from word-wrapping) are written into the return string as real carriage returns.