public boolean containsLineFeedsOrTooLong(final TextRange dependency) {
    LeafBlockWrapper child = myTextRangeToWrapper.get(dependency.getStartOffset());
    if (child == null) return false;
    final int endOffset = dependency.getEndOffset();
    final int startOffset = child.getStartOffset();
    while (child != null && child.getEndOffset() < endOffset) {
      if (child.containsLineFeeds() || (child.getStartOffset() - startOffset) > CodeStyleConstraints.MAX_RIGHT_MARGIN) return true;
      child = child.getNextBlock();
      if (child != null &&
          child.getWhiteSpace().getEndOffset() <= endOffset &&
          child.getWhiteSpace().containsLineFeeds()) {
        return true;
      }
    }
    return false;
  }
public boolean containsLineFeedsOrTooLong(final TextRange dependency)