Next: Sorting Up: Basic Editing Previous: Searching Contents

## Rectangles

jed has built-in support for the editing of rectangular regions of text. One corner of rectangle is defined by setting the mark somewhere in the text. The Point (cursor location) defines the opposite corner of the rectangle.

Once a rectangle is defined, one may use the following functions:

`kill_rect`
Delete text inside the rectangle saving the rectangle in the internal rectangle buffer.

`n_rect`
Push all text in the rectangle to the right outside the rectangle.

`copy_rect`
Copy text inside the rectangle to the internal rectangle buffer.

`blank_rect`
Replace all text inside the rectangle by spaces.

The function `insert_rect` inserts a previously killed or copied rectangle into the text at the Point.

These functions have no default binding and must be entered into the MiniBuffer by pressing ESC X to produce the `M-x` prompt.