Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

alternate VFP editor 4

Status
Not open for further replies.

dsandlin

Programmer
Jul 11, 2003
56
CR
I'm trying to use a custom editor with VFP 8.0 and I can't get it to be recognized. Per the help file, I have added a "-C" with a configuration file name to the shortcut that initiates VFP 8.0. In the config file, I have specified the editor path and filename with a "TEDIT /N =" command. I even added an "ALLOWEXTERNAL = ON" command, but the regular editor still comes up when I modify a program file. Has anyone had better luck? The editor seems to respond only to a right-click on the active edit window to change any of its behavior. Changes via Tools-Options-IDE don't seem to have any effect either. I have a great editor that does rectangular blocks and other cool stuff (EditPadPro), but I can't get VFP to use it. Ideas?
 
DSummZZZ,

'Sorry for the response delay. Here is the line out of my
config file: (it is all on one line there)

TEDIT /N = "C:\Program Files\JGsoft\EditPadPro5\EditPadPro.exe"

I appreciate your attention to my problem. This command path is the same as that on the shortcut to the editor.
Have you had any luck doing this?

Thanks again, Dick
 
Hi

CHange the Config.FPW line to

TEDIT = /N "C:\Program Files\JGsoft\EditPadPro5\EditPadPro.exe"

The usage of /N before the = is creats the problem. That should be used after the =

:)

ramani :)
(Subramanian.G)
 
Dsandlin,

You might like to know that there is an article on Microsoft's Knowledge Base on this subject. It is article Q100429. It refers to Foxpro version 2.x., but might also be relevant to VFP.

Mike


Mike Lewis
Edinburgh, Scotland
 
Thanks to all who posted replies! I tried the "/N" after the equal sign and, sure enough, it worked! That is, it worked to replace the editor when modifying a ".prg" file. Does anyone know how to make it work when modifying a form's method? I'm still getting the VFP editor there.

But, this is a big help! Now I will have to invest the time to define a custom VFP-syntax-coloring scheme for EditPadPro. It is so great to be able to select and delete rectangular boxes. It's a quick way to change an indent level for a whole block of code.

Best regards, Dick [rainbow]
 
Not necessarily related to your original question, but I find selecting a portion of code and using TAB to indent and TAB+SHIFT to out-dent works well for me in VFP.

Slighthaze = NULL

[ul][li]FAQ184-2483
An excellent guide to getting a fast and accurate response to your questions in this forum.[/li][/ul]
 
>Not necessarily related to your original question, but I >find selecting a portion of code and using TAB to indent >and TAB+SHIFT to out-dent works well for me in VFP.

Or selecting the code and Right-Click ->Indent/Unindent

Stella
 
You can't replace the editor for method code, only PRGs.

Craig Berntson
MCSD, Visual FoxPro MVP, Author, CrysDev: A Developer's Guide to Integrating Crystal Reports"
 
Thanks to SlightHaze and Stella740PL for your suggestions. That will help me when the originator was kind enough to use Tabs for indents instead of spaces. I just finished editing a method that was about 700 lines with three spaces for each indent. Whew! I suppose I could have copied it out to a text file, edited it and reinserted, but I was too rushed to think of that at the time....
[cannon] [flip]
And thanks to CraigBer for the authoritative answer. Isn't it funny that the two editors look the same, but one you can replace and the other you can't. Maybe in the next version, eh? We can always hope...

Thanks again for your help! -- Dick [wavey2]
 
dsandlin,

You could let Beautify edit those methods for you. It will change the indent character to tab if you have tabs set up for your indent...

when you are in the code window for a method or prg file go up to the system menu:

Tools - Beautify... - at this point you should see a dialog box, set up the options you want and click Run and Beuatify.app will go to work doing what it does best. It's that simple.

Slighthaze = NULL

[ul][li]FAQ184-2483
An excellent guide to getting a fast and accurate response to your questions in this forum.[/li][/ul]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top