--- 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