UpdateActiveDocument() static private method

static private UpdateActiveDocument ( ) : void
return void
        public virtual void ApplyChanges()
        {
            DefaultSourceEditorOptions.Instance.DefaultRegionsFolding = this.foldregionsCheckbutton.Active;
            DefaultSourceEditorOptions.Instance.DefaultCommentFolding = this.foldCommentsCheckbutton.Active;
            DefaultSourceEditorOptions.Instance.LineEndingConversion  = (MonoDevelop.Ide.Editor.LineEndingConversion) this.comboboxLineEndings.Active;
            if (DefaultSourceEditorOptions.Instance.ShowFoldMargin != this.foldingCheckbutton.Active)
            {
                DefaultSourceEditorOptions.Instance.ShowFoldMargin = this.foldingCheckbutton.Active;
                HighlightingPanel.UpdateActiveDocument();
            }
//			DefaultSourceEditorOptions.Instance.WrapLines = wordWrapCheckbutton.Active;
        }
        public virtual void ApplyChanges()
        {
            DefaultSourceEditorOptions.Instance.DefaultRegionsFolding = this.foldregionsCheckbutton.Active;
            DefaultSourceEditorOptions.Instance.DefaultCommentFolding = this.foldCommentsCheckbutton.Active;
            DefaultSourceEditorOptions.Instance.LineEndingConversion  = (LineEndingConversion)this.comboboxLineEndings.Active;

            if (DefaultSourceEditorOptions.Instance.ShowFoldMargin != this.foldingCheckbutton.Active)
            {
                DefaultSourceEditorOptions.Instance.ShowFoldMargin = this.foldingCheckbutton.Active;
                HighlightingPanel.UpdateActiveDocument();
            }

            DefaultSourceEditorOptions.Instance.EnableNewEditor = this.newEditorCheckBox.Active;
        }
        public virtual void ApplyChanges()
        {
            DefaultSourceEditorOptions.Instance.EnableCodeCompletion     = this.codeCompletioncheckbutton.Active;
            DefaultSourceEditorOptions.Instance.DefaultRegionsFolding    = this.foldregionsCheckbutton.Active;
            DefaultSourceEditorOptions.Instance.DefaultCommentFolding    = this.foldCommentsCheckbutton.Active;
            DefaultSourceEditorOptions.Instance.EnableAutoCodeCompletion = this.autoCodeCompletionCheckbutton.Active;
            DefaultSourceEditorOptions.Instance.EnableParameterInsight   = this.enableParameterInsightCheckbutton.Active;
            DefaultSourceEditorOptions.Instance.UseAntiAliasing          = this.antiAliasingCheckbutton.Active;
            DefaultSourceEditorOptions.Instance.LineEndingConversion     = (LineEndingConversion)this.comboboxLineEndings.Active;
//			CompletionTextEditorExtension.HideObsoleteItems.Set (this.hideObsoleteItemsCheckbutton.Active);
            if (DefaultSourceEditorOptions.Instance.ShowFoldMargin != this.foldingCheckbutton.Active)
            {
                DefaultSourceEditorOptions.Instance.ShowFoldMargin = this.foldingCheckbutton.Active;
                HighlightingPanel.UpdateActiveDocument();
            }
        }