@Override
  public void replace(@NotNull ReplacementInfo info, @NotNull ReplaceOptions options) {
    final RangeMarker rangeMarker = myRangeMarkers.get(info);
    final Document document = rangeMarker.getDocument();
    document.replaceString(rangeMarker.getStartOffset(), rangeMarker.getEndOffset(), info.getReplacement());
    PsiDocumentManager.getInstance(myProject).commitDocument(document);
  }
@Override
  public void replace(@NotNull ReplacementInfo info, @NotNull ReplaceOptions options)