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)); selectSingleLine(); checkResultByText(""" first line <selection><caret>second line </selection>third line""" ); }