void () { initText(""" <selection><caret>word</selection> some long prefix <selection><caret>word</selection>-suffix"""); EditorTestUtil.configureSoftWraps(getEditor(), 17); // wrapping right before 'word-suffix' delete(); checkResultByText(""" <caret> some long prefix <caret>-suffix"""); verifySoftWrapPositions(19); }