[wingide-users] Bug in auto-indent?
Wingware Support
support at wingware.com
Tue May 18 13:55:05 MDT 2010
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
More information about the wingide-users
mailing list