remove-doc-range ( from to document -- )
Factor handbook > UI framework > Building user interfaces > Pre-made UI gadgets > Editor gadgets > Documents

Prev:set-doc-range ( string from to document -- )
Next:each-line ( ... from to quot: ( ... line -- ... ) -- ... )


Vocabulary
documents

Inputs and outputs
froma pair of integers
toa pair of integers
documenta document


Word description
Removes all text between two line/column number pairs.

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

Side effects
Modifies document

Definition