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
In article <87fx8bl74c@benfinney.id.au>,
Ben Finney wrote:
>Wells writes:
>>
>> Is it... pythonic, then, to have these lines of tabs/spaces to support
>> code collapsing? Is it proper, improper, or irrelevant?
>
>It's quite improper (though syntactically null, in Python) to have
>trailing wh
Steven D'Aprano writes:
> On Thu, 19 Nov 2009 10:56:35 +1100, Ben Finney wrote:
>
> > It's quite improper (though syntactically null, in Python) to have
> > trailing whitespace on lines. That includes blank lines.
>
> Blank lines are far from improper in Python, they're recommended by
> PEP 8.
I
On Thu, 19 Nov 2009 10:56:35 +1100, Ben Finney wrote:
> Wells writes:
>
>> Is it... pythonic, then, to have these lines of tabs/spaces to support
>> code collapsing? Is it proper, improper, or irrelevant?
>
> It's quite improper (though syntactically null, in Python) to have
> trailing whitespa
Wells writes:
> Is it... pythonic, then, to have these lines of tabs/spaces to support
> code collapsing? Is it proper, improper, or irrelevant?
It's quite improper (though syntactically null, in Python) to have
trailing whitespace on lines. That includes blank lines.
One major reason is that t
I work in TextMate a lot, which I generally love, but it's code
collapsing confounds me. Essentially you have to indent blank lines to
the proper level for the current block. Then it will collapse that
section as one section. If you have simply a new line, it will see it
as a break, and not collaps