Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Beautify - Indents
Message
From
12/01/1997 13:51:05
 
 
To
12/01/1997 13:42:58
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00016683
Message ID:
00017133
Views:
66
>>Anyone else used beautify under 5.0, having trouble with indents missing lines. So far the lines all apear to be DEFINE WINDOW commands (ported from old code)
>
>I have the same problem. Here's an example
>
>Non beautify code:
>
>SCAN
>IF N=1
>DEFINE WINDOW VENTANA FROM 0,0 TO 20,50
>ENDIF
>ENDSCAN
>
>After beautify
>
>SCAN
> IF N=1
>DEFINE WINDOW VENTANA FROM 0,0 TO 20,50
>ENDIF
>ENDSCAN
>
>Should be
>
>
>SCAN
> IF N=1
> DEFINE WINDOW VENTANA FROM 0,0 TO 20,50
> ENDIF
>ENDSCAN
>
>I'dont find a solution yet, and i'm not sure if is a workaround or we have to wait to a patch

I had the same problem. Not only did beautify skip the
DEFINE WINDOW line and the ACTIVATE WINDOW line but _every_
line after that was left unchanged!

I commented out the DEFINE and ACTIVATE lines and beautify worked
correctly, then I un-commented those two lines. Cumbersome yes,
but a minor issue to me since I really like what beautify does
to my code.

HTH

Larry Moody
developer in training (for about 10 years now!)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform