boolean (@NotNull Editor editor, int startLine, int endLine) { TextRange range = DiffUtil.getLinesRange(editor.getDocument(), startLine, endLine); return FoldingUtil.isTextRangeFolded(editor, range); }