int (@NotNull Block rootBlock) { int minOffset = rootBlock.getTextRange().getStartOffset(); if (myAffectedRanges != null) { for (FormatTextRange range : myAffectedRanges.getRanges()) { if (range.getStartOffset() < minOffset) minOffset = range.getStartOffset(); } } return minOffset; }