Beispiel #1
0
        public override void OnDialogLoaded()
        {
            _loading = true;

            base.OnDialogLoaded();

            var settings = Settings.GetSettings <EditorSettings>();

            SelectedColorSchemeIndex = ColorSchemes.IndexOf(settings.ColorScheme);

            RemoveTrailingWhiteSpaceOnSave = settings.RemoveTrailingWhitespaceOnSave;
            AutoFormat = settings.AutoFormat;

            _loading = false;
        }