@Override
  public void setAutosaveMode(boolean autosaveMode) {
    configuration.autosaveMode = autosaveMode;
    editorManager.fireAutosaveModeChanged(autosaveMode);
  }
@Override
  public void setAutosaveMode(boolean autosaveMode)