use the proper caret offset in case of selection. Do not overindent when replacing...
authorEkaterina Tuzova <Ekaterina.Tuzova@jetbrains.com>
Tue, 12 Feb 2013 12:46:47 +0000 (16:46 +0400)
committerEkaterina Tuzova <Ekaterina.Tuzova@jetbrains.com>
Tue, 12 Feb 2013 12:46:47 +0000 (16:46 +0400)
commitd48903bd71c97f75aee82de2a9d4866d67e9f05d
tree870cecd4dca1e4876cd43e13329f3fbc9a56c875
parent4ade420a99c8bebac49d68e9b4aaf80d19b94392
use the proper caret offset in case of selection. Do not overindent when replacing selection
PY-8744 Smart indent pasted lines doesn't replace selection when pasting multi-line code
platform/lang-impl/src/com/intellij/codeInsight/editorActions/CopyPasteIndentProcessor.java