contents.gifprev1.gifnext1.gif

MOVE_TEXT

Description:

MOVE_TEXT takes text passed in the parameter and places it at the current edit position. The source can be a buffer, range, or string.

A range containing the new text is returned. The markers and/or ranges contained in the original text are not moved from the source, but are positioned to the first character after the original source text range.

Syntax:

range := MOVE_TEXT ( {buffer | range | string} )

Example:

The following tells nu/TPU to move the text in paste_buffer to the current edit position.

MOVE_TEXT (paste$buffer);

Errors:

TPU$_MOVETOCOPY Text copied to current buffer, but source buffer is READ_ONLY.

TPU$_NOTMODIFIABLE Current buffer is READ_ONLY.

Related Builtins:

COPY_TEXT

ERASE