[wingide-users] Bug in auto-indent?

cool-RR cool-rr at cool-rr.com
Tue May 18 13:57:38 MDT 2010


On Tue, May 18, 2010 at 9:55 PM, Wingware Support <support at wingware.com>wrote:

> cool-RR wrote:
>
>  On Tue, May 18, 2010 at 9:05 PM, Wingware Support <support at wingware.com<mailto:
>> support at wingware.com>> wrote:
>>
>>    cool-RR wrote:
>>
>>        Paste this in a new file:
>>
>>        if self.get(x, y) is True:
>>           if 2 <= true_neighbor_count <= 3:
>>               new_kids.append(True)
>>           else:
>>               new_kids.append(False)
>>           else:
>>
>>        When I press tab on the bottom row, it doesn't dedent it back.
>>        If I dedent manually and press tab, it indents it. Is it a bug?
>>
>>
>>    Yes, the auto-indenter is only reading back one line of context and
>>    isn't paying attention to the earlier lines.
>>
>>    Thanks,
>>
>>    --
>>    Stephan Deibel
>>
>>
>> I didn't understand: Is it a bug, or is the auto-indenter always looking
>> just one line back, and this is normal behavior?
>>
>
> Yes, I was saying it's a bug.  It is expected behavior based on the
> algorithm we implemented but I also think we could attempt to improve this
> in the future.
>
> Stephan Deibel
> Wingware | Python IDE
> Advancing Software Development
>
> www.wingware.com
>

I see, thanks.

Ram.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/wingide-users/attachments/20100518/de2f4db2/attachment.html


More information about the wingide-users mailing list