@Override
  public void replaceRange(TextRange rangeWithinElement, Expression expression) {
    final RangeMarker key = myDocument.createRangeMarker(rangeWithinElement);
    replaceElement(key, expression);
  }
@Override
  public void replaceRange(TextRange rangeWithinElement, Expression expression)