FILL Reformats a range, box, or paragraph so the maximum number of words fits on a line (same as FILL RANGE or FILL PARAGRAPH). Typically, you use FILL after erasing, removing, or pasting text, or after changing the margins or paragraph indent. Key: EDT keypad WPS keypad ---------------------------- GOLD-KP8 GOLD-KP5 Steps: 1. Optionally, select or find the text to reformat (see help on SELECT or FIND), or put the cursor anywhere in the paragraph to reformat. 2. Use the FILL command (see key list above). Usage notes: o Filling a range or paragraph uses the current margins of the buffer. For example, you can select several lines or paragraphs (or even all of the buffer) and then use FILL to reformat the selected text. o Filling a box rewraps the text within the box, independent of the margins of the buffer, using the limits of the box as margins. Thus, you can reformat a list or part of a table without affecting adjacent text. If SET BOX SELECT is in effect, FILL (or any key defined for it) treats a found range like a box selection---see help on Ranges And Boxes. o If you do not select or find text, FILL reformats the current paragraph and moves the cursor to the end of that paragraph. EVE's default paragraph boundaries are any of the following: * Blank line * Top or bottom of the buffer * Page break (form feed at the start of a line) * RUNOFF command (such as .BREAK;) at the start of a line * VAX DOCUMENT tag (such as <LE>) at the start of a line o Filling a range or box keeps blank lines and page breaks as paragraph boundaries, so you can select several paragraphs or the entire buffer for reformating. For example, if your selection contains lines beginning with RUNOFF commands or DOCUMENT tags, FILL by default does not reformat those lines, but does reformat the other lines in the range. o FILL deletes tabs and spaces at the start of each line in the range or paragraph, but does not affect tabs and spaces in the middle or at the end. If the range begins in the middle of a line, FILL does not delete tabs and spaces at the start of that line. Filling a box converts tab characters to spaces in the box or to the right of the box, to keep the column alignment of text. o Use SET FILL TAGS to make EVE fill RUNOFF commands or VAX DOCUMENT tags at the start of a line, that is, remove them from the list of paragraph boundaries. You may then want to redefine FILL keys, for example the EDT keypad GOLD-KP8 key, as FILL RANGE. This would avoid accidentally filling text that does not have blank lines or page breaks---possibly making your entire buffer hard to read. SET FILL NOTAGS restores RUNOFF commands or VAX DOCUMENT tags at the start of a line to the list of paragraph boundaries. o If the paragraph indent is not 0, you cannot fill a range unless it starts at the start of a paragraph. Related topics: Ranges And Boxes BOX SELECT FILL PARAGRAPH FILL RANGE SELECT SELECT ALL SET FILL TAGS SET LEFT MARGIN SET PARAGRAPH INDENT SET RIGHT MARGIN