I had this same problem with an application called Notepad++, which is a shame because I like the way it works and it's nice and tight.  Now I use Komodo Edit instead, which doesn't have that problem, and has all the features of Notepad++ but just isn't as fast.  Also all the colors were awful, and I realized Notepad++'s were perfect so I spent some time using GetColor! to sample every token color Notepad++ uses and configure Komodo Edit to do the same.  I guess this is all irrelevant information since you don't even use a PC, but I just wanted to say that apparently this strange problem is a popular phenomenon.  And that Komodo Edit is cool. <br>
<br><div class="gmail_quote">On Wed, Nov 18, 2009 at 6:28 PM, Wells <span dir="ltr"><<a href="mailto:wells@submute.net">wells@submute.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I work in TextMate a lot, which I generally love, but it's code<br>
collapsing confounds me. Essentially you have to indent blank lines to<br>
the proper level for the current block. Then it will collapse that<br>
section as one section. If you have simply a new line, it will see it<br>
as a break, and not collapse, though the python interpreter doesn't<br>
care- it only cares about lines of actual code.<br>
<br>
Is it... pythonic, then, to have these lines of tabs/spaces to support<br>
code collapsing? Is it proper, improper, or irrelevant?<br>
<br>
Thanks.<br>
<div><div></div><div class="h5">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</div></div></blockquote></div><br>