On 11 Dec 2007, at 09:38, Alexey Blinov wrote:
[...] new folding rule to fold code based on that pair of markers #{{{ def test ... #}}} [...] I can't do it myself yet but i hope someone will...
Have a look at http://macromates.com/textmate/manual/navigation_overview#customizing_foldin... -- I wanted to say that if you can code Python, I am sure you can add the proper patterns, but then I remembered that Python lack regexps as first class citizens ;)