~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor.OptionPanels/BehaviorPanel.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2011-06-27 17:03:13 UTC
  • mto: (1.8.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 54.
  • Revision ID: james.westby@ubuntu.com-20110627170313-6cvz3s19x6e9hqe9
ImportĀ upstreamĀ versionĀ 2.5.92+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
                        this.useViModesCheck.Active = DefaultSourceEditorOptions.Instance.UseViModes;
58
58
                        this.checkbuttonOnTheFlyFormatting.Active = DefaultSourceEditorOptions.Instance.OnTheFlyFormatting;
59
59
                        
 
60
                        checkbuttonFormatOnSave.Active = PropertyService.Get ("AutoFormatDocumentOnSave", false);
60
61
                        checkbuttonAutoSetSearchPatternCasing.Active = PropertyService.Get ("AutoSetPatternCasing", true);
61
62
                        HandleAutoInsertBraceCheckbuttonToggled (null, null);
62
63
                        return this;
78
79
                        DefaultSourceEditorOptions.Instance.UseViModes = this.useViModesCheck.Active;
79
80
                        DefaultSourceEditorOptions.Instance.OnTheFlyFormatting = this.checkbuttonOnTheFlyFormatting.Active;
80
81
                        PropertyService.Set ("AutoSetPatternCasing", checkbuttonAutoSetSearchPatternCasing.Active);
 
82
                        PropertyService.Set ("AutoFormatDocumentOnSave", checkbuttonFormatOnSave.Active);
81
83
                }
82
84
 
83
85
                public void Initialize (OptionsDialog dialog, object dataObject)