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