@Override
  public <T> T getUserData(@NotNull Key<T> key) {
    TextEditor textEditor = getTextEditor();
    T data = myUserDataHolder.getUserData(key);
    if (data == null && textEditor != null) {
      data = textEditor.getUserData(key);
    }
    return data;
  }
@Override
  public <T> T getUserData(@NotNull Key<T> key)