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