set-editor-string ( string editor -- )
Factor handbook » UI framework » Building user interfaces » Pre-made UI gadgets » Editor gadgets » Getting and setting editor contents

Prev:editor-string ( editor -- string )
Next:clear-editor ( editor -- )


Vocabulary
ui.gadgets.editors

Inputs
stringa string
editoran editor


Outputs
None

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

Definition