void (@NotNull Project project, @NotNull Editor editor, @NotNull Document document, int rightMargin, @NotNull TextRange range) { List<TextRange> enabledRanges = singletonList(TextRange.create(0, document.getTextLength())); LineWrappingUtil.doWrapLongLinesIfNecessary(editor, project, document, range.getStartOffset(), range.getEndOffset(), enabledRanges, rightMargin); }