Next Previous Contents

19. Rectangle Functions

19.1 blank_rect

Synopsis

blank_rect

Description

The blank_rect function replaces all text in the rectangle defined by the current editing point and the mark by spaces.

See Also

push_mark, kill_rect, insert_rect, copy_rect

19.2 copy_rect

Synopsis

copy_rect

Usage

Void copy_rect ();

Description

The copy_rect function is used to copy the contents of the currently defined rectangle to the rectangle buffer. It overwrites the previous contents of the rectangle buffer. A rectangle is defined by the diagonal formed by the mark and the current point.

See Also

insert_rect, kill_rect, blank_rect

19.3 insert_rect

Synopsis

insert_rect

Usage

insert_rect ();

Description

The insert_rect function inserts the contents of the rectangle buffer at the current editing point. The rectangle buffer is not modified. Any text that the rectangle would overwrite is moved to the right by an amount that is equal to the width of the rectangle.

See Also

kill_rect, blank_rect, copy_rect

19.4 kill_rect

Synopsis

kill_rect

Usage

Void kill_rect ();

Description

This function deletes the rectangle defined by the mark and the current point. The contents of the rectangle are saved in the rectangle buffer for later retrieval via the insert_rect function. The previous contents of the rectangle buffer will be lost.

See Also

insert_rect, blank_rect, copy_rect

19.5 open_rect

Synopsis

open_rect

Usage

Void open_rect ();

Description

The open_rect function may be used to insert a blank rectangle whose size is determined by the mark and the current editing point. Any text that lies in the region of the rectangle will be pushed to the right.

See Also

insert_rect, kill_rect, copy_rect


Next Previous Contents