private void resetEditor() {
    final EditorEx editor = myEditor;

    if (editor != null) {
      scheduleEditorRelease();
      initEditorInner();
      releaseScheduledEditors();
      revalidate();
    }
  }
private void resetEditor()