void () { initText(""" line1 line2 line3"""); setEditorVisibleSize(1000, 1000); EditorMouseFixture mouse = mouse(); mouse.pressAt(0, 1).dragTo(1, 2); checkResultByText(""" l<selection>ine1 li<caret></selection>ne2 line3"""); mouse.alt().dragTo(1, 3); checkResultByText(""" l<selection>in<caret></selection>e1 l<selection>in<caret></selection>e2 line3"""); mouse.noModifiers().dragTo(2, 4).release(); checkResultByText(""" l<selection>ine1 line2 line<caret></selection>3"""); }