void () { prepare("first line\n" + "second line<caret>\n" + // this line will be wrapped and caret is positioned after the wrap "third line"); assertTrue("Failed to activate soft wrapping", EditorTestUtil.configureSoftWraps(getEditor(), 6)); copy(); verifyResult("first line\n" + maybeCaretOnLineStart(maybeSelection("second line<caret>\n")) + "third line", "second line\n" ); }