List<Block> () { if (getFormattingMode() != FormattingMode.REFORMAT) return Collections.emptyList(); int offset = myNode.getStartOffset(); Alignment alignment = createChildAlignment(); List<TextRange> textRanges = extractLinesRanges(); List<Block> children = new ArrayList<>(textRanges.size()); for (int i = 0; i < textRanges.size(); i++) { TextRange range = textRanges.get(i).shiftRight(offset); Indent indent = i == 0 ? Indent.getNoneIndent() : Indent.getContinuationIndent(); children.add(new TextLineBlock(range, alignment, indent, null)); } return children; }