[Monodevelop-patches-list] r1002 - in trunk/MonoDevelop/src: AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels Main/Base/Gui/Dialogs/OptionPanels/IDEOptions

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Mon Feb 23 07:54:22 EST 2004


Author: jba
Date: 2004-02-23 07:54:22 -0500 (Mon, 23 Feb 2004)
New Revision: 1002

Modified:
   trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/BehaviorTextEditorPanel.cs
   trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/GeneralTextEditorPanel.cs
   trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/MarkersTextEditorPanel.cs
   trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/IDEOptions/CodeGenerationPanel.cs
Log:
last of the option panel unimplemented option disabling

Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/BehaviorTextEditorPanel.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/BehaviorTextEditorPanel.cs	2004-02-23 12:11:34 UTC (rev 1001)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/BehaviorTextEditorPanel.cs	2004-02-23 12:54:22 UTC (rev 1002)
@@ -131,6 +131,15 @@
 							 "IndentStyle", IndentStyle.Smart))){
 					smartIndentStyle.Active = true;
 				}
+				
+				// FIXME: re-enable these when their options are implemented
+				autoinsertCurlyBraceCheckBox.Sensitive = false;
+				hideMouseCursorCheckBox.Sensitive = false;
+				caretBehindEOLCheckBox.Sensitive = false;
+				autoInsertTemplatesCheckBox.Sensitive = false;	// FIXME: there is no reason why this option couldn't ber wired in right now
+				noneIndentStyle.Sensitive = false;
+				automaticIndentStyle.Sensitive = false;
+				smartIndentStyle.Sensitive = false;
 			}
 
 			public void Store (IProperties CustomizationObject)

Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/GeneralTextEditorPanel.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/GeneralTextEditorPanel.cs	2004-02-23 12:11:34 UTC (rev 1001)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/GeneralTextEditorPanel.cs	2004-02-23 12:54:22 UTC (rev 1002)
@@ -127,6 +127,10 @@
 // 				encoding = CharacterEncodings.GetEncodingByIndex(i).CodePage;
 
 // 				textEncodingComboBox.Changed += new EventHandler (OnOptionChanged);
+
+				// FIXME: enable the sensitivity on these widgets when the implementation has been added
+				enableDoublebufferingCheckBox.Sensitive = false;
+				enableCodeCompletionCheckBox.Sensitive = false;
 			}
 
 			public void Store (IProperties CustomizationObject)

Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/MarkersTextEditorPanel.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/MarkersTextEditorPanel.cs	2004-02-23 12:11:34 UTC (rev 1001)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/MarkersTextEditorPanel.cs	2004-02-23 12:54:22 UTC (rev 1002)
@@ -121,6 +121,9 @@
 			
 				vRulerRowTextBox.Value = ((IProperties)CustomizationObject).GetProperty("VRulerRow", 80);
 
+				// FIXME: reenable these widhet's when they're implemented
+				showInvalidLinesCheckBox.Sensitive = false;
+				showHRulerCheckBox.Sensitive = false;
 			}
 
 			public void Store (IProperties CustomizationObject)

Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/IDEOptions/CodeGenerationPanel.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/IDEOptions/CodeGenerationPanel.cs	2004-02-23 12:11:34 UTC (rev 1001)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/IDEOptions/CodeGenerationPanel.cs	2004-02-23 12:54:22 UTC (rev 1002)
@@ -61,6 +61,13 @@
 			
 				chk_doc_comments.Active       = p.GetProperty("GenerateDocumentComments", true);
 				chk_other_comments.Active     = p.GetProperty("GenerateAdditionalComments", true);
+				
+				chk_blk_on_same_line.Sensitive = false;
+				chk_else_on_same_line.Sensitive = false;
+				chk_blank_lines.Sensitive = false;
+				chk_full_type_names.Sensitive = false;
+				chk_doc_comments.Sensitive = false;
+				chk_other_comments.Sensitive = false;
 			}
 			
 			public void Store ()




More information about the Monodevelop-patches-list mailing list