set-doc-string ( string document -- )
Factor handbook » UI framework » Building user interfaces » Pre-made UI gadgets » Editor gadgets » Documents

Prev:doc-string ( document -- str )
Next:clear-doc ( document -- )


Vocabulary
documents

Inputs
stringa string
documenta document


Outputs
None

Word description
Sets the contents of the document to a string, which may use either \n, \r\n or \r line separators.

Side effects
Modifies document

Definition