--- a/Preferences/ConfigurationPages/EditorPropertiesPage.py Fri Mar 11 08:55:14 2011 +0100 +++ b/Preferences/ConfigurationPages/EditorPropertiesPage.py Fri Mar 11 16:51:57 2011 +0100 @@ -14,6 +14,7 @@ import Preferences + class EditorPropertiesPage(ConfigurationPageBase, Ui_EditorPropertiesPage): """ Class implementing the Editor Properties configuration page. @@ -247,7 +248,7 @@ self.psFoldAtElseCheckBox.isChecked()) Preferences.setEditor("PostScriptTokenize", self.psMarkTokensCheckBox.isChecked()) - Preferences.setEditor("PostScriptLevel", + Preferences.setEditor("PostScriptLevel", self.psLevelSpinBox.value()) # Povray @@ -294,9 +295,10 @@ # YAML if "YAML" in self.languages: - Preferences.setEditor("YAMLFoldComment", + Preferences.setEditor("YAMLFoldComment", self.foldYamlCommentCheckBox.isChecked()) + def create(dlg): """ Module function to create the configuration page. @@ -304,4 +306,4 @@ @param dlg reference to the configuration dialog """ page = EditorPropertiesPage(dlg.getLexers()) - return page \ No newline at end of file + return page