void () { initText("text"); addBlockInlay(0, true); EditorTestUtil.setEditorVisibleSize(getEditor(), 100, 100); mouse().pressAtXY(2 * TEST_CHAR_WIDTH, (int)(getEditor().getLineHeight() * 1.5)).dragToXY(-1, -1).release(); checkResultByText("<selection><caret>te</selection>xt"); }