EVE$HELP.HLB  —  FILL_RANGE
  FILL RANGE

  Reformats a range or box so the maximum number of words fits on a line.

  Typically, you use FILL RANGE after erasing, removing, or pasting text, or
  after changing the margins or paragraph indent.

  Steps:

     1.  Select or find the text to reformat (see help on SELECT or FIND).

     2.  Use FILL or FILL RANGE. (With the EDT keypad, press GOLD-KP8.
         With the WPS keypad, press GOLD-KP5).

  Usage notes:

  o  Filling a range 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 RANGE 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. Thus, you can
     reformat a list or part of a table without affecting adjacent text. If
     SET BOX SELECT is in effect, FILL RANGE (or any key defined for it)
     treats a found range like a box selection---see help on Ranges And
     Boxes.

  o  FILL RANGE keeps blank lines and page breaks as paragraph boundaries,
     so you can select several paragraphs or the entire buffer for
     reformatting. For example, if your selection contains lines beginning
     with RUNOFF commands or DOCUMENT tags, then FILL RANGE by default does
     not reformat those lines, but does reformat the other lines in the
     selection.

  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  FILL RANGE deletes tabs and spaces at the start of each line in the
     range but does not affect tabs and spaces in the middle. If the range
     begins in the middle of a line, FILL RANGE 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  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
     FILL PARAGRAPH      SELECT                  SELECT ALL
     SET FILL TAGS       SET LEFT MARGIN         SET PARAGRAPH INDENT
     SET RIGHT MARGIN
Close Help