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

Prev:clear-doc ( document -- )
Next:doc-lines ( from to document -- slice )


Vocabulary
documents

Inputs
na non-negative integer
documenta document


Outputs
stringa string


Word description
Outputs the nth line of the document.

Errors
Throws an error if n is out of bounds.

Definition