diff -r 7a6f30e7f79c -r ba6d27371e25 Preferences/ConfigurationPages/EditorAutocompletionPage.py --- a/Preferences/ConfigurationPages/EditorAutocompletionPage.py Wed Sep 27 18:00:37 2017 +0200 +++ b/Preferences/ConfigurationPages/EditorAutocompletionPage.py Mon Oct 02 14:24:58 2017 +0200 @@ -15,6 +15,7 @@ import Preferences +# TODO: add entry for auto-completion timeout class EditorAutocompletionPage(ConfigurationPageBase, Ui_EditorAutocompletionPage): """ @@ -33,12 +34,14 @@ Preferences.getEditor("AutoCompletionEnabled")) self.acCaseSensitivityCheckBox.setChecked( Preferences.getEditor("AutoCompletionCaseSensitivity")) + self.acReversedCheckBox.setChecked( + Preferences.getEditor("AutoCompletionReversedList")) self.acReplaceWordCheckBox.setChecked( Preferences.getEditor("AutoCompletionReplaceWord")) self.acThresholdSlider.setValue( Preferences.getEditor("AutoCompletionThreshold")) - self.acScintillaCheckBox.setChecked( - Preferences.getEditor("AutoCompletionScintillaOnFail")) + self.acTimeoutSpinBox.setValue( + Preferences.getEditor("AutoCompletionTimeout")) def save(self): """ @@ -50,6 +53,10 @@ Preferences.setEditor( "AutoCompletionCaseSensitivity", self.acCaseSensitivityCheckBox.isChecked()) + + Preferences.setEditor( + "AutoCompletionReversedList", + self.acReversedCheckBox.isChecked()) Preferences.setEditor( "AutoCompletionReplaceWord", self.acReplaceWordCheckBox.isChecked()) @@ -57,8 +64,8 @@ "AutoCompletionThreshold", self.acThresholdSlider.value()) Preferences.setEditor( - "AutoCompletionScintillaOnFail", - self.acScintillaCheckBox.isChecked()) + "AutoCompletionTimeout", + self.acTimeoutSpinBox.value()) def create(dlg):