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-doc-line ( ... from to quot: ( ... line -- ... ) -- ... )


Vocabulary
documents

Inputs
froma pair of integers
toa pair of integers
documenta document


Outputs
None

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