void () { initText("line\nline\nline\nline\nlong line"); getEditor().getSettings().setAdditionalColumnsCount(0); addCollapsedFoldRegion(19, 25, "..."); runWriteCommand(() -> ((EditorEx)getEditor()).getDocument().moveText(19, 25, 0)); assertEquals(80, getEditor().getContentComponent().getPreferredSize().width); }