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