Contents - Index


 

While BIM-EDIT/XP is optimized for processing line-oriented text such as that found in program source, word-wrap mode is provided to assist users when editing word-oriented text.

 

Activation or inactivation of word-wrap is performed by the Wrap operand of the FileAlter and SessionAlter commands.  To set word-wrap on for file MEMO.D, for example, enter:

 

   => alt memo.d,wrap=on

 

When word-wrap mode is active, the vertical bounds of paragraphs are displayed by bracketing graphics in the right margin.

 

In word-wrap mode, many commands operate against the paragraph rather than the line.  For example, if you begin typing a word near the end of the zone, when you run out of space and attempt to type an additional character, the entire word being typed will be moved or "wrapped" to the next line.  This may cause a ripple effect to the right and down as necessary to accomodate space for the original word wrapped.  In a similar manner, the EditDeleteChar command may cause an upward ripple effect.

 

While typing, to end the current paragraph and start a new paragraph, invoke the EditNewLine command by pressing Enter.  To split a paragraph, position the cursor at the split point and invoke the EditSplitLine command by pressing Ctrl-Enter.

 

The left margin of a paragraph is determined by the left-most starting column of the lines of the paragraph.  For example, in the following paragraph, the left margin is determined by the starting columns of the second and third lines of the paragraph:

 

      When in the course of human events it

   is deemed necessary for one nation to

   separate itself from the affiars of the

 

The right margin of a paragraph is always the end of the current zone.

 

You can use paragraphs such as the one above where the first line is indented.  However, the word-wrap facility works best with paragraphs of the "block" format, where all lines begin on the same column.  This is because when paragraphs are first created, words are wrapped to the starting column of the prior line.  To create a paragraph with an indented first line, you would probably initially create a "block" format paragraph, and then indent the first line by inserting blanks before the first of the paragraph.

 

If a paragraph begins with a dash (-) followed by a blank, the left margin of the paragraph is considered to start at the first non-blank character after the dash or period.  Note how the following three paragraphs are formatted:

 

   This is the first of three paragraphs.  Note

   the following two paragraphs, and how they

   are formatted when started with a dash (-):

   - This is the second paragraph.  Notice how

     it wraps to the first non-blank after the

     dash.

   - This is the third paragraph.

 

The paragraphs that begin with the dash are sometimes referred to as list items.

 

The following commands perform differently when word-wrap mode is active:

 

EditBackspace

EditDeleteChar

EditNewLine

EditSplitLine

EditType

 

The EditFormat command can be used to explicitly reformat a paragraph.