void () { initText("text"); getEditor().getSettings().setAdditionalLinesCount(0); getEditor().getSettings().setAdditionalColumnsCount(0); addInlay(4, 15); addCustomFoldRegion(0, 0, 40, 30); assertEquals(new Dimension(40, 30), getEditor().getContentComponent().getPreferredSize()); }