Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Program Editor Extension/Improvement
Message
 
 
À
26/04/2001 10:45:11
Bruce Gordon
Wicks Broadcast Solutions, Llc
Vienna, Virginie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00499585
Message ID:
00500139
Vues:
23
>Class Navigator is great, but it brings up the standard editor. I was thinking along the lines of, in something like Class Navigator, of clicking on a class or method and bringing up something like the sample at the bottom, where the [+] and [-] are the standard expand/collapse boxes in Explorer. For simplicity, the example shows only structured chunks.
>
>The sample shows expansion of the Procedure Process1, With This, and Scan to get to where I want to work, while still being able to see the overall shape of the procedure and other relevant parts of the code.
>
>BTW, how do I mark sections of a post to show as code with the white background and all? The indenting is all lost without it.
>

Your last question is simple: use < pre > < /pre > tags (without spaces, of course).

Well, Doug Henning discusses some ideas in the recent FoxTalk magazine (March issue). With VFP6.0 you can actually bring to the particular place (say, you click Init, it will bring you to Init, you clicked Destroy, it will bring you to destroy - it's not hard to program, you can send a feature request to the author). I don't think, you can change the code like +/- though.
>Thanks,
>Bruce
>
>
>
>[-]  Define Class Foo As BusinessObject
>
>       Property1 = 'A'
>       Property2 = 'B'
>
>[+]    Procedure Process1
>
>[+]    Procedure Process2
>
>[-]    Proctected Procedure Process3
>[-]      With This
>           .Property2 = 'W'
>[+]        If .Property1 == 'Q'
>[+]        Do Case
>           Select table
>[-]        Scan
>             Replace aFld with aFld + lcChar
>           EndScan
>[+]      For lnI = 1 to lnNumChars
>         EndWith
>       EndProc
>
>[+]    Procedure Process17(tcTest)
>[+]    Function Process17(tnVal)
>
>    EndDefine
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform