[TxMt] Puthon folding idea (not really mine)

Allan Odgaard throw-away-2 at macromates.com
Tue Dec 11 10:28:54 UTC 2007


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_foldings 
  -- 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 ;)




More information about the textmate mailing list