void () { initText("s<selection>om<caret></selection>e text\nother text"); setEditorVisibleSize(1000, 1000); mouse().alt().shift().pressAt(0, 5).dragTo(1, 2).release(); checkResultByText("s<selection>om<caret></selection>e <selection>text\not<caret></selection>her text"); }