[wingide-users] Bug in auto-indent?

Wingware Support support at wingware.com
Tue May 18 13:05:47 MDT 2010


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
Wingware | Python IDE
Advancing Software Development

www.wingware.com



More information about the wingide-users mailing list