Editing problem when pasting

When I move code from one location and paste it into another location the line after the paste sometimes dedents. How can I stop that from happening?

When I paste var=x into a def statement the editor adds spaces: var = x. I have Preferences > Code style > Python > Spaces set to no space around = in named parameter.
1 comment
Comment actions Permalink
Please check Settings (Preference on Mac) | Editor | Smart Keys | Reformat on paste

Please sign in to leave a comment.