[wingide-users] Small nit with vi o

Wingware Support support at wingware.com
Fri Aug 20 09:35:05 MDT 2010

Wingware Support wrote:
> Michael Hipp wrote:
>> In Python there is pretty much never a case where the line after a 
>> ':' terminated line would begin in the same column. Vi, in typical 
>> default setup, does what Wing is doing now (places the cursor on the 
>> newly opened line under the first char of the previous line). But Vi 
>> is very configurable so it's hard to argue that one way is correct or 
>> not.
>> However, in my Wing settings I have 'auto indent always' selected so 
>> I expected it to do what is best for Python and indent the next line.

I've issued a patch that changes this so o and O will auto-indent unless 
the Editor / Indentation / Auto-Indent preference disables it.  This 
should restore how it worked in 3.2.9 while giving the option to disable 
it for those taht don't want it.


Stephan Deibel
Wingware | Python IDE
Advancing Software Development


More information about the wingide-users mailing list