UpdateActiveDocument() 정적인 개인적인 메소드

static private UpdateActiveDocument ( ) : void
리턴 void
예제 #1
0
        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();
            }
        }