[TxMt] Bug report: Python folding [version 1.0.2b10#553]

Jeroen van der Ham jeroen at je-ju.net
Thu Dec 9 09:46:27 UTC 2004


On 08-12-2004 21:56, Xavier Noria wrote:
> Python folding seems half implemented, it does not work. As you can see 
> in this shot:
> 
>     http://www.hashref.com/textmate/tmbug_python_folding.png
> 
> There's no mark for classes for instance, and more important if you 
> click on the marks to fold functions nothing happens.

This is a known problem.

As stated before, TextMate currently tries to do folding based on 
indentation of the end marker. Since there is no end marker in Python, it 
doesn't work properly.

The workaround to make it work currently is by using empty lines with the 
proper indentation. It's not pretty, but it works.

Allan is working hard on all kinds of features that will make TextMate 
the Über-editor of all, but folding isn't currently on the top of the list...

Jeroen.



More information about the textmate mailing list