@Override
  public TextRange shiftIndentInsideRange(ASTNode node, TextRange range, int indent) {
    if (myOriginalFormattingModel instanceof FormattingModelWithShiftIndentInsideDocumentRange) {
      final TextRange newRange =
        ((FormattingModelWithShiftIndentInsideDocumentRange)myOriginalFormattingModel).shiftIndentInsideDocumentRange(myDocument, node, range, indent);
      if (newRange != null)
        return newRange;
    }

    final int newLength = shiftIndentInside(range, indent);
    return new TextRange(range.getStartOffset(), range.getStartOffset() + newLength);
  }
@Override
  public TextRange shiftIndentInsideRange(ASTNode node, TextRange range, int indent)