FIX: Replace "Beginning of Line" Skips Blank LinesLast reviewed: December 19, 1997Article ID: Q139294 |
The information in this article applies to:
SYMPTOMSWhen the Find What field in the Replace dialog box is set to "^" (the Beginning of Line symbol), The characters in the Replace with field are not inserted at the beginning of blank lines.
RESOLUTIONYou can record a macro to help work around this problem. Record a macro by on the Tools menu, clicking Record Keystrokes. Move to the beginning of the line by pressing the HOME key. Then enter the characters you want, and press the DOWN ARROW key to move to the next line. Then press the HOME key again, and stop the recording. To run the macro, position the insertion point on the starting line. Then press and hold down CRTL+SHIFT+P until all the insertions are made.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug was corrected in Visual C++ version 5.0.
MORE INFORMATION
Steps to Reproduce ProblemFor this example, assume that the following text is in your open file:
a b <end of file> Find what: ^ Replace with: //
//a //b <end of file> Keywords : vcbuglist400 vcfixlist500 VwbIss Version : Winnt: 4.0 4.1 4.2 Platform : winnt Issue type : kbbug Solution Type : kbfix |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |