void () { prepare(""" first line second<caret> line third line"""); copy(); verifyResult("first line\n" + maybeCaretOnLineStart(maybeSelection("second<caret> line\n")) + "third line", "second line\n" ); }