How to Insert Spaces Before a Block of Text in PWB

Last reviewed: July 17, 1997
Article ID: Q66231
1.00 1.10 | 1.00 1.10
MS-DOS    | OS/2
kbtool

The information in this article applies to:

  • Microsoft Programmer's Workbench for MS-DOS, versions 1.0 and 1.1
  • Microsoft Programmer's Workbench for OS/2, versions 1.0 and 1.1

SYMMARY

It is sometimes desirable to indent or move over a block of text in the Programmer's WorkBench (PWB) or the Microsoft (M) Editor. The following steps can be used to insert spaces before a block of text to indent it:

  1. Get into boxarg mode. You can select this mode from the Edit menu under the PWB, or select the boxstream function under the M Editor.

  2. Highlight the area you want to contain the spaces. This may be anywhere in the file.

  3. Select the linsert function. By default, this is CTRL+N.

The highlighted area should now be moved over and replaced by spaces.

MORE INFORMATION

You don't have to be in boxarg mode for this to work; linsert always treats its argument as a boxarg regardless of the current mode. However, the highlight on the screen won't match the area that is going to be inserted unless you use boxarg mode.

Also, ldelete can be used to unindent a block of text. However, you must be in boxarg or streamarg mode for it to work correctly. In linearg mode, it will delete entire lines.


Additional reference words: kbinf 1.00 1.10 PWBIss
KBCategory: kbtool
KBSubcategory: PWBIss
Keywords : kb16bitonly


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 17, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.