dbTalk Databases Forums  

Using another editor

comp.databases.paradox comp.databases.paradox


Discuss Using another editor in the comp.databases.paradox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Anne Wainwright
 
Posts: n/a

Default Using another editor - 04-01-2007 , 07:41 AM






Hi.

I wanted a way to store code snippets. Opening up other databases, finding,
etc. is an inefficient process.

I looked at a number of editors and downloaded a few for inspection that
had that facility.

My first one, PSPad, although it did not mention pdox on the web site,
conveniently installed itself into the Pdox menu. It does open itself in
hex mode which I am sure can be fixed somewhere. It is also very powerful
with many features beyond what I would use in Pdox.

I am wondering if this is the right thing, bearing in mind my original
limited objective. There seem to be as many editors available as there are
programmers so am not looking to start an editor war. Still, any general
comments on what might be useful would be appreciated? Would there be any
consensus in this group amongst those who have regularly programmed in
objectPal?

-----
Anne Wainwright
Please reply to group

Reply With Quote
  #2  
Old   
Rodney Wise
 
Posts: n/a

Default Re: Using another editor - 04-01-2007 , 08:37 AM






Anne,

I've found the best OPAL Editor to be the one that Paradox uses. The
reason, Syntax and Error checking. Naturally, OPAL can be written using
any ASCII Text editor and pasted into Paradox Forms, etc.... but there is
not error testing.

That said, I have used a text Editor named ConTEXT for years now and I find
it to be an absolute necessity. You can find it for free at:
http://www.context.cx/

Note, this editor has a Paradox OPAL keyword highlighter file available for
it. You can also modify and create your own. I've heavily modified my
highlighting configuration for OPAL in ConTEXT and now OPAL "appears" in
ConTEXT as it does in OPAL (all the Keywords, numbers, etc. highlighted).
Again, there is no error or syntax checking.

Also, once you get your highlighting set up the way you want (in ConTEXT),
you can even save the file to HTML and the highlighting sticks.

This works fine for storing or sharing code snippets... But my favorite way
to organize these things is this way:
1. I create Directories with Broad Names.

2. I create sub-directories under these broader named
directories with more specific names.

Example:
C:\PdoxCode\
Networking\
FindIP\
MapDrive\
Internet\
email\
testconnection\

etc.
etc....

Now... I place my "Working" Forms, Libraries, etc. which pertain
specifically to these solutions into the appropriate directory. I prefer
saving "working" examples of code in this manner because they usually always
require more then a single method (which storing code in ConTEXT files will
only give you) and you can actually see the code work. In addition, you can
instantly see all the support files that might be required (Libraries,
DLL's, etc.)

To manage problems with outdated or updated OPAL code.... I created a method
to include File Version information inside each Library, Form and Script....
This same method also provides a means to track the most current version of
any file and also to be able to store the most current version of these
files into a "file repository".



You can download this Version Management utility at:
http://www.ars-florida.com/PDOXboard

Read article No. 61




--
....
`·.¸¸.·´¯`·.¸¸.·´¯`·-> rodney



Reply With Quote
  #3  
Old   
Liz McGuire
 
Posts: n/a

Default Re: Using another editor - 04-01-2007 , 11:01 AM



Pay for ProView (unless code snippets is a feature of the free version).

*that* is the best way to store ObjectPAL code snippets.

IMO, you'd be hard-pressed to come up with a developer tool Vladimir
hasn't already put into ProView... :-)

Liz


Anne Wainwright wrote:
Quote:
Hi.

I wanted a way to store code snippets. Opening up other databases, finding,
etc. is an inefficient process.


Reply With Quote
  #4  
Old   
Liz McGuire
 
Posts: n/a

Default Re: Using another editor - 04-01-2007 , 11:06 AM



NOTE: It may not be obvious to the newbie... The "Object Repository"
will store code snipets by highlighting the code of interest and then
dragging the "add object to repository" button over the code editor window.

Liz


Liz McGuire wrote:
Quote:
Pay for ProView (unless code snippets is a feature of the free version).

*that* is the best way to store ObjectPAL code snippets.

IMO, you'd be hard-pressed to come up with a developer tool Vladimir
hasn't already put into ProView... :-)

Liz


Anne Wainwright wrote:
Hi.

I wanted a way to store code snippets. Opening up other databases,
finding, etc. is an inefficient process.


Reply With Quote
  #5  
Old   
Anne Wainwright
 
Posts: n/a

Default Re: Using another editor - 04-10-2007 , 03:33 PM



Rodney, hi.

Easter gone, thank you for your suggestions. ConTEXT was one of the other
editors that looked likely and I had already downloaded it!

I will check out your URL, No 61 is _my_ number, and look at this when
things cool down (see my reply to Liz). I see stuff to download and try
which is always instructive.

Thanks
Anne

"Rodney Wise" <NSpamPlease_rodney1 (AT) bellsouth (DOT) net> wrote in
news:460fb5bc$1 (AT) pnews (DOT) thedbcommunity.com:

Quote:
Anne,

I've found the best OPAL Editor to be the one that Paradox uses. The
reason, Syntax and Error checking. Naturally, OPAL can be written
using any ASCII Text editor and pasted into Paradox Forms, etc....
You can download this Version Management utility at:
http://www.ars-florida.com/PDOXboard

Read article No. 61






--
-----
Anne Wainwright
Please reply to group


Reply With Quote
  #6  
Old   
Anne Wainwright
 
Posts: n/a

Default Re: Using another editor - 04-10-2007 , 03:56 PM



Liz, hi.

Thanks for the suggestion. I had somewhile back downloaded the free
version of Proview (which does not include the valuable features I seek)
but had not used it. I was going to ask about it first but you pipped me
at the post. My usual parsimonious 3rd world resident attitude meant that
I was not sure whether I should shell out all those Euros but since you
recommend it I am sure it is worth having and I'll check out the freebie
just now.

A power blip in the town fried the hard drive on one computer just before
Easter (in spite of a UPS) and in a seperate incident the laptop decided
to never boot up again. Local mechanic is searching hard drive scrap heap
for similar model to try and swap electronics card to revive it from the
dead. I fear for it.

So I have to get straight first and then I can get back to matters pdox.

Regards
Anne

Liz McGuire <liz (AT) paradoxcommunity (DOT) com> wrote in
news:460fd6ff$1 (AT) pnews (DOT) thedbcommunity.com:

Quote:
Pay for ProView (unless code snippets is a feature of the free
version).

*that* is the best way to store ObjectPAL code snippets.

IMO, you'd be hard-pressed to come up with a developer tool Vladimir
hasn't already put into ProView... :-)

Liz


Anne Wainwright wrote:
Hi.

I wanted a way to store code snippets. Opening up other databases,
finding, etc. is an inefficient process.



--
-----
Anne Wainwright
Please reply to group


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.