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