IDEA-80056  fixed caret adding into middle of selection
IDEA-80056  EditorDuplicate  "alt D"