LSE$KEYPAD.HLB  —  FILL
  Fill

  Reformats the current paragraph or selected range so that the maximum
  number of words fits on a line according to the margins of the
  buffer.

  The selected range is the text between the select mark (see the SET
  SELECT_MARK command) and the current cursor position.  If you do not
  provide a selected range, the Fill key reformats the current
  paragraph.  The current paragraph includes the text on all previous
  and subsequent lines until LSE encounters a completely blank line, or
  a line that contains only a Runoff command in a buffer that is not
  associated with a language.  LSE preserves any blank lines you insert
  in the text.

  The Fill key reformats a block of text so that as many complete
  words as possible fit on each line without exceeding the right
  margin.  You can change the right margin with the SET RIGHT_MARGIN
  command.  Except in comments, pressing the Fill key indents the
  reformatted text to the left margin setting.

  When you press the Fill key, LSE treats spaces, tabs, and
  carriage returns as word delimiters.  LSE treats character sequences
  as whole words if it recognizes such sequences as placeholders.

  Steps:

     1.  Optionally, select the text you want to fill.

     2.  Press the Fill key.

  Filling a range keeps blank lines and page breaks as paragraph
  boundaries, which is useful if you select several paragraphs or the
  entire buffer.

  If the buffer is associated with a language, just the comment segments
  of the lines in the selected range get filled.

  Command Equivalent:

          FILL

  Related Topics:

          DEFINE LANGUAGE
          SELECT
          SET LEFT MARGIN
          SET RIGHT MARGIN
          SET SELECT_MARK
          SET WRAP
Close Help