Comment 2 for bug 1083094

Revision history for this message
David Barnett (mu-mind) wrote :

Are you sure that's the cause? I tried it again waiting several minutes after hitting <Tab> and again after hitting <Esc>. Is the CursorMoved something that has to happen after I hit <Shift-O> but before vim adds the blank line?

Just to clarify, my exact steps to reproduce are to run "gvim foo.py" and then type:
    aclass<Tab><Esc><Shift-O>
And what I see after that is:
    class MyClass(object)
        """Docstring for MyClass """

        def __init__(self): """ """ """
            .__init__(self)

            """@todo: to be defined """

It may be something that only affects certain versions of vim or what-have-you. But then, I reproduced it on both Ubuntu 12.04 and 12.10.