void () { initText(""" <caret>one\s two\s th<caret>ree\s four<caret>\s"""); executeAction("EditorCut"); checkResultByText("<caret>two \n" + "<caret>"); getEditor().getCaretModel().addCaret(new VisualPosition(0,2)); executeAction("EditorPaste"); checkResultByText(""" one\s three\s <caret>tw<caret>o\s four\s <caret>"""); }