Microsoft KB Archive/66231

= How to Insert Spaces Before a Block of Text in PWB =

Article ID: 66231

Article Last Modified on 10/23/2003

-

APPLIES TO


 * Microsoft Programmer's Workbench for MS-DOS 1.0
 * Microsoft Programmer's Workbench for MS-DOS 1.1
 * Microsoft Programmer's Workbench for OS/2 1.0
 * Microsoft Programmer's Workbench for OS/2 1.1

-



This article was previously published under Q66231



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 KB66231

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.