On Jan 29, 2008 3:35 PM, Jacob Rus jacobolus@gmail.com wrote:
Konrad Hinsen wrote:
Python support is really disappointing. Folding is completely useless (blocks end at the first blank line),
This is an unfortunate side-effect of TextMate's current folding system which only allows foldings at matching indentation levels. It will certainly change sometime in the hazy indefinite future of later TM versions. In the mean time, as a workaround, if you get the whitespace just right, foldings work great (there's a Cleanup Whitespace command in the Python bundle which does this). It's far from ideal, but it works for me.
Wow, that is a great tip! Is it possible to have this command run in the background on every file save for example?
Cheers, Yi