protected override void Load(ICSharpCode.SharpDevelop.Project.MSBuildBasedProject project, string configuration, string platform) { base.Load(project, configuration, platform); if (persistenceHelper != null) { persistenceHelper.OptionsContainer.PropertyChanged -= ContainerPropertyChanged; } persistenceHelper = CSharpFormattingOptionsPersistence.GetProjectOptions(project); formattingEditor.OptionsContainer = persistenceHelper.OptionsContainer; formattingEditor.AllowPresets = true; persistenceHelper.Load(); persistenceHelper.OptionsContainer.PropertyChanged += ContainerPropertyChanged; }
public override void LoadOptions() { base.LoadOptions(); persistenceHelper.Load(); formattingEditor.OptionsContainer = persistenceHelper.StartEditing(); }