How to Insert Spaces Before a Block of Text in PWB

ID: Q66231


The information in this article applies to:
  • Microsoft Programmer's Workbench for MS-DOS, versions 1.0, 1.1
  • Microsoft Programmer's Workbench for OS/2, versions 1.0, 1.1


SUMMARY

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 query words: kbinf 1.00 1.10 PWBIss

Keywords : kb16bitonly
Version : MS-DOS:1.0,1.1; OS/2:1.0,1.1
Platform : MS-DOS OS/2
Issue type :


Last Reviewed: November 5, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.