void () { initText(""" <caret>one\s two\s th<caret>ree\s four\s"""); executeAction("EditorCut"); checkResultByText("<caret>two \n" + "<caret>four "); executeAction("EditorPaste"); checkResultByText(""" one\s <caret>two\s three\s <caret>four\s"""); }