Preferences/ConfigurationPages/EditorGeneralPage.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3025
67064c71df21
child 3145
a9de05d4a22f
--- a/Preferences/ConfigurationPages/EditorGeneralPage.py	Fri Oct 18 23:00:41 2013 +0200
+++ b/Preferences/ConfigurationPages/EditorGeneralPage.py	Fri Nov 01 15:48:48 2013 +0100
@@ -57,21 +57,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