void () { initText("abcd"); EditorTestUtil.setEditorVisibleSize(getEditor(), 100, 100); getEditor().getSettings().setDndEnabled(false); EditorMouseFixture mouse = mouse(); mouse.pressAt(0, 1).dragTo(0, 3).release(); mouse.right().pressAt(0, 2); checkResultByText("a<selection>bc</selection>d"); mouse.release(); }