Preferences/ConfigurationPages/EditorGeneralPage.py

changeset 3025
67064c71df21
parent 2964
84b65fb9e780
child 3058
0a02c433f52d
child 3160
209a07d7e401
diff -r 17c01303a239 -r 67064c71df21 Preferences/ConfigurationPages/EditorGeneralPage.py
--- a/Preferences/ConfigurationPages/EditorGeneralPage.py	Tue Oct 15 19:13:32 2013 +0200
+++ b/Preferences/ConfigurationPages/EditorGeneralPage.py	Wed Oct 16 15:16:54 2013 +0200
@@ -55,21 +55,29 @@
         """
         Public slot to save the Editor General configuration.
         """
-        Preferences.setEditor("TabWidth",
+        Preferences.setEditor(
+            "TabWidth",
             self.tabwidthSlider.value())
-        Preferences.setEditor("IndentWidth",
+        Preferences.setEditor(
+            "IndentWidth",
             self.indentwidthSlider.value())
-        Preferences.setEditor("IndentationGuides",
+        Preferences.setEditor(
+            "IndentationGuides",
             self.indentguidesCheckBox.isChecked())
-        Preferences.setEditor("TabForIndentation",
+        Preferences.setEditor(
+            "TabForIndentation",
             self.tabforindentationCheckBox.isChecked())
-        Preferences.setEditor("TabIndents",
+        Preferences.setEditor(
+            "TabIndents",
             self.tabindentsCheckBox.isChecked())
-        Preferences.setEditor("ConvertTabsOnLoad",
+        Preferences.setEditor(
+            "ConvertTabsOnLoad",
             self.converttabsCheckBox.isChecked())
-        Preferences.setEditor("AutoIndentation",
+        Preferences.setEditor(
+            "AutoIndentation",
             self.autoindentCheckBox.isChecked())
-        Preferences.setEditor("CommentColumn0",
+        Preferences.setEditor(
+            "CommentColumn0",
             self.comment0CheckBox.isChecked())
         
         virtualSpaceOptions = QsciScintillaBase.SCVS_NONE

eric ide

mercurial