Hello,
I haven't had a chance to follow all of the TextMate enhancements as closely as I would like, but I thought that I saw something about regexes being able to look back and forward now.
I edit a lot of python files that haven't been written with TextMate, which means that lines inserted for spacing/formatting are completely blank. It would be nice if the folding support for Python could support files that weren't written in TextMate.
Is it possible with all of the regex changes lately that Python folding support could now support this?
I don't think that just reformatting the file(s) in question will help because the people writting the files use emacs and have the contents of their buffer reformatted when they open the file and when they write it out, they strip any spaces and tabs on blank lines.
Thanks for any information, Jordan
On 25/09/2005, at 0.59, Jordan Breeding wrote:
[...] Is it possible with all of the regex changes lately that Python folding support could now support this?
I'm afraid folding stuff is still untouched since the 1.0 release, and it won't be before 1.3 I'll get around to improving this.
I'm afraid folding stuff is still untouched since the 1.0 release, and it won't be before 1.3 I'll get around to improving this.
When that happens, I have a request; to make folding available on the selected area. This works in dreamweaver and is quite handy, select an arbitrary amount of text and then fold it.
Andreas
On 25/09/2005, at 21.12, Andreas Wahlin wrote:
I'm afraid folding stuff is still untouched since the 1.0 release, and it won't be before 1.3 I'll get around to improving this.
When that happens, I have a request; to make folding available on the selected area. This works in dreamweaver and is quite handy, select an arbitrary amount of text and then fold it.
You can do that in TM as well. But it folds full lines.
You can do that in TM as well. But it folds full lines.
Ah, there it was. However, when I hit F1 on the keyboard the automation menu gets slightly highlighted (as though something in it was activated) and then my text disappears without leaving a folder marker behind. I can get my text back with an edit->undo.
Also, while on folding, is there some way to unfold all foldings? And remove the folding markers the view->fold current block leaves behind when you unfold it again?
Andreas
On 25/09/2005, at 21.55, Andreas Wahlin wrote:
However, when I hit F1 on the keyboard the automation menu gets slightly highlighted
Some bundles (wrongly) put stuff on F1, and it's only in recent builds that I have been completely able to wrokaround the carbon menu manager key resolving -- so try F1 with a recent build (since the bundle actions on F1 are likely to be scoped).
Also, while on folding, is there some way to unfold all foldings?
You can toggle all foldings (at misc. levels), which puts them all in the same state, i.e. if you have folded more than half, toggling twice will cause everything to be unfolded.
And remove the folding markers the view->fold current block leaves behind when you unfold it again?
Currently only by doing an edit(/undo) on the line with the start marker.