Handbook
Glossary
editor-string ( editor -- string )
Factor handbook
»
UI framework
»
Building user interfaces
»
Pre-made UI gadgets
»
Editor gadgets
»
Getting and setting editor contents
Next:
set-editor-string ( string editor -- )
Vocabulary
ui
.
gadgets
.
editors
Inputs
editor
an
editor
Outputs
string
a
string
Word description
Outputs the contents of the editor's
document
as a string. Lines are separated by
\n
.
Definition
USING:
accessors
documents
;
IN:
ui.gadgets.editors
:
editor-string
( editor -- string )
model>>
doc-string
;