public final void reset(@NotNull CodeStyleSettings settings) {
    myShouldUpdatePreview = false;
    try {
      resetImpl(settings);
    }
    catch (Exception e) {
      LOG.error(e);
    }
    finally {
      myShouldUpdatePreview = true;
    }
  }
public final void reset(@NotNull CodeStyleSettings settings)