void () { initText("text"); addBlockInlay(0, true, 10 * TEST_CHAR_WIDTH); EditorTestUtil.setEditorVisibleSize(getEditor(), 100, 100); mouse().pressAtXY(2 * TEST_CHAR_WIDTH, 0).dragToXY(4 * TEST_CHAR_WIDTH, 0).release(); checkResultByText("<caret>text"); }