doc-lines ( from to document -- slice )
Factor handbook » UI framework » Building user interfaces » Pre-made UI gadgets » Editor gadgets » Documents

Prev:doc-line ( n document -- string )
Next:doc-range ( from to document -- string )


Vocabulary
documents

Inputs
froma non-negative integer
toa non-negative integer
documenta document


Outputs
slicea slice


Word description
Outputs a range of lines from the document.

Notes
The range is created by calling <slice>.

Errors
Throws an error if from or to is out of bounds.

Definition