PRB: Beautify Application Changes the Case of Strings that Span Multiple Lines (242998)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 5.0
  • Microsoft Visual FoxPro for Windows 5.0a
  • Microsoft Visual FoxPro for Windows 6.0

This article was previously published under Q242998

SYMPTOMS

After running the Beautify Application, string expressions that span multiple lines are changed to either upper or lower case. This behavior occurs when the Capitalization for Symbols option in the Beautify Options dialog box is set to either "UPPERCASE" or "lowercase".

RESOLUTION

When running the Beautify Application, set the Capitalization for Symbols option in the Beautify Options dialog box to either "Match first occurrence" or "No change."

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a program file named Test.prg using the following code:
    multi_line_value  = "This should be " + ;
       "Mixed Case"
  2. From the Tools menu, select Beautify.
  3. In the Beautify Options dialog box, set the Capitalization for Symbols option to UPPERCASE.
  4. Click the Run command button in the Beautify Options dialog box. Note that after the Beautify application runs, the "Mixed Case" portion of the string is changed to "MIXED CASE."
  5. From the Tools menu, select Beautify.
  6. In the Beautify Options dialog box, set the Capitalization for Symbols option to "lowercase."
  7. Click the Run command button in the Beautify Option dialog box. Note that after the Beautify application runs, the "MIXED CASE" portion of the string is changed to "mixed case."

Modification Type:MajorLast Reviewed:10/13/1999
Keywords:kbDSupport kbMiscTools kbprb KB242998 kbAudDeveloper