@Override
  public void setCustomCursor(@NotNull Object requestor, @Nullable Cursor cursor) {
    ReadAction.run(() -> {
      if (cursor == null) {
        myCustomCursors.remove(requestor);
      }
      else {
        myCustomCursors.put(requestor, cursor);
      }
      updateEditorCursor();
    });
  }
@Override
  public void setCustomCursor(@NotNull Object requestor, @Nullable Cursor cursor)