[TxMt] code folding of method

Artie Ziff artie.ziff at gmail.com
Mon Jun 22 23:05:32 UTC 2009


Hello,

Does Textmate's code folding have limitations when a method declaration
is split across lines? Sometimes I have long parameter lists which
necessitate this style:

class MyClass():
    def __init__(self,
                var1=var1Default,
                var2=var2Default,
                var3=var3Default,
                var4=var4Default,
                var5=var5Default,
                var6=var6Default,
                var7=var7Default,
                var8=var8Default):
        pass

    def method1(self):
        pass

    def method2(self):
        pass

    def method3(self):
        pass



When I format the __init__() method above across line boundaries, I lose
code folding. Bummer. I know. I could use a work-around idea if this is
the way it is. :)


Cheers!
AZ



More information about the textmate mailing list