This forum should be used for all code folding problems, questions or suggestions. You can also use this forum to request folding support for a new language.
gwgs
Posts: 87 Joined: Tue Nov 21, 2006 6:30 pm
Location: Auckland
Post
by gwgs » Wed Jun 11, 2008 11:18 pm
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
gwgs
Posts: 87 Joined: Tue Nov 21, 2006 6:30 pm
Location: Auckland
Post
by gwgs » Thu Jun 12, 2008 12:34 am
Works great thanks Jussi
Grant
Kennedy
Posts: 1 Joined: Sat Sep 27, 2008 7:47 am
Post
by Kennedy » Sat Sep 27, 2008 7:54 am
great program, Thanks.