void () { initText(""" <caret>line long line very long line long line line"""); setEditorVisibleSize(1000, 1000); EditorMouseFixture mouse = mouse(); mouse.middle().pressAt(1, 17); checkResultByText(""" line long line<caret> very long line long line line"""); mouse.dragTo(2, 16); checkResultByText(""" line long line<caret> very long line<caret> long line line"""); mouse.dragTo(3, 12); checkResultByText(""" line long line very long li<selection><caret>ne</selection> long line line"""); mouse.dragTo(3, 6).release(); checkResultByText(""" line long l<selection><caret>ine</selection> very l<selection><caret>ong line</selection> long l<selection><caret>ine</selection> line"""); }