Page 1 of 1
Lost my Perl profile
Posted: Thu Feb 02, 2012 11:49 pm
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.
Re: Lost my Perl profile
Posted: Fri Feb 03, 2012 12:18 am
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.
Posted: Fri Feb 03, 2012 12:29 am
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.
Posted: Fri Feb 03, 2012 2:38 am
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
Posted: Fri Feb 03, 2012 4:11 am
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
Posted: Thu Feb 23, 2012 5:40 am
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