[scintilla] Re: comments inside blocks
P at draigBrady.com
P at draigBrady.com
Fri Jan 3 05:39:51 EST 2003
Neil Hodgson wrote:
> Pádraig:
>
>>Hmm but the editor should be able to distinguish between
>>these 2 cases IMHO:
>>
>>for i in range(10):
>> print i
>>
>>#comment nothing to do with first for
>>for i in range(10):
>> print i
>>#not normal but valid comment in for
>> print i**2
>
> The folding of this has changed since the 1.49 release. Try the test
> version from
> http://www.scintilla.org/scite.zip Source
> http://www.scintilla.org/wscite.zip Windows executable
> I'm not completely convinced but it may be what you want.
I noticed no changes wrt the above.
> I consider the old Python folding fairly good.
Hmm I noticed another minor issue wrt brackets, ie: {([
the following isn't folded:
t=(
1,
2,
3
)
but this is:
t=(
1,
2,
3
)
I.E. when there is no relative indentation of the members
there is no folding done.
Pádraig.
More information about the Python-list
mailing list