Lost my Perl profile

Get help with the installation and running of the Zeus IDE. Please do not post bug reports or feature requests here. When in doubt post your question here.
Post Reply
mo2600
Posts: 9
Joined: Thu Jan 12, 2012 11:21 pm

Lost my Perl profile

Post by mo2600 »

I did a search in the workspace, the log came up and I told Zeus that the log should be a .txt not .pl,.pm and now it thinks all my Perl files are "Setting for the default document type". Help me, please. How do I get them back to Perl type? Sorry, I'm in the middle of a big project and the editor is now not being very friendly.
mo2600
Posts: 9
Joined: Thu Jan 12, 2012 11:21 pm

Re: Lost my Perl profile

Post by mo2600 »

I almost had it by opening a .txt and was happy to see it thought it was a Perl file, but then I changed the extensions to .pl, .pm and I screwed it up again. How do I find out what Zeus thinks is the default extension for Perl now?
mo2600 wrote:I did a search in the workspace, the log came up and I told Zeus that the log should be a .txt not .pl,.pm and now it thinks all my Perl files are "Setting for the default document type". Help me, please. How do I get them back to Perl type? Sorry, I'm in the middle of a big project and the editor is now not being very friendly.
mo2600
Posts: 9
Joined: Thu Jan 12, 2012 11:21 pm

Post by mo2600 »

I found it. I went under Options->Document Types->Perl Document Type and hit edit. I changed the extensions back to "pl;pm". Phew, that was close. I did some mods to the Perl Type to make it look how I wanted it to and I didn't want to have to start from scratch with a default Perl.zti file.

So, is there a reason why Search Workspace creates a file that thinks it's the current file type and not just plain old .txt, because changing that type is what got me into this in the first place.

Thanks! It's a good editor, just getting used to it. It's the best substitute I've found for CodeWright. Not quite there, but it's got some nice abilities.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Sorry, I'm in the middle of a big project and the editor is now not being very friendly.
It's nice to hear that Zeus is working well for you ;)
Phew, that was close. I did some mods to the Perl Type to make it look how I wanted it to and I didn't want to have to start from scratch with a default Perl.zti file.
I understand your concern. The Zeus setup can be ticky to get right and are easily overwritten.

One tip is to make the occasional backup of these settings.

All the Zeus document type setting are found in the zConfig folder so you can backup all the setting by just copying this folder.

This same trick can be used to move your Zeus settings from one machine to another.
So, is there a reason why Search Workspace creates a file that thinks it's
the current file type and not just plain old .txt, because changing that
type is what got me into this in the first place.
How very strange :?

Just for your information the Search Workspace feature is nothing more than this script:

http://www.zeusedit.com/zforum/viewtopic.php?t=6402

This script basically does nothing more than run the xfgrep.exe which is the Zeus grep tool.

Also the xfgrep.exe the same tool that performs the Edit, Find in Files menu.

But I will do a little more testing at this end to see if I can find anything strange is happening in the Zeus code itself :?

Cheers Jussi
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

So, is there a reason why Search Workspace creates a file that thinks it's the current file type and not just plain old .txt
I had a look at the code an this does look like a bug in Zeus :(

It should be fixed in the next Zeus patch release ;)

Cheers Jussi
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

So, is there a reason why Search Workspace creates a file that thinks it's the current file type and not just plain old .txt
This issue has been fixed in the latest Zeus release found here: http://www.zeusedit.com/zforum/viewforum.php?f=6

Cheers Jussi
Post Reply