Page 1 of 1

python code folding

Posted: Wed Jun 11, 2008 11:18 pm
by gwgs
could you add a couple more commands to the python code folding routines
begin: try
begin: except

handle like you do for any other block in python


sample code:

Code: Select all

try:    
    f=open(self.infile,'r')
    f.close()
except:
    if self.fromcommandline: 
        self.logit("ERROR: txtfile '"+self.infile+"' Missing")
        if self.fromcommandline: 
            sys.exit()
        self.errors=self.errors+1
thanks

Grant

Posted: Thu Jun 12, 2008 12:13 am
by jussij
The xFolder.dll has been updated to do this and this new version can be found here: http://www.zeusedit.com/z300/xFolder.zip

Cheers Jussi

Posted: Thu Jun 12, 2008 12:34 am
by gwgs
Works great thanks Jussi


Grant

Posted: Sat Sep 27, 2008 7:54 am
by Kennedy
great program, Thanks.