[wingide-users] trouble with auto-indent

Wingware Support support at wingware.com
Fri Feb 10 12:26:55 MST 2012

On 2/10/12 1:51 PM, John Fabiani wrote:
> I have no idea what's going wrong or how to fix it but the auto-indent is
> driving me nuts!
> I'm editing the code and sometimes Wing indents correctly after a return.
> Sometimes, it misses by a few spaces (worse only one space), sometimes it
> places the cursor at the start of the line, or some other spot on the line.
> If I return the cursor to the end of a statement I just type and type the
> return again it works correctly (most of the time).  Note that the I just did
> the same thing but the cursor ended at some wrong spot on the new line.
> So if I type
> def someMethod(self,evt):
>         # I would expect the cursor to be four spaces in.
> But sometimes the cursor ends up a some strange spot on the new line.

What keyboard personality are you using?  Also, can you check if turning 
off auto-editing (if it's on) helps?  If it's reproducible, can you send 
your ~/.wingide4/preferences file along with your source file to support 
at wingware dot com along w/ the steps to reproduce it?



Stephan Deibel
Wingware | Python IDE
Advancing Software Development


More information about the wingide-users mailing list