35 Preferences.getEditor("AutoCompletionCaseSensitivity")) |
35 Preferences.getEditor("AutoCompletionCaseSensitivity")) |
36 self.acReplaceWordCheckBox.setChecked( |
36 self.acReplaceWordCheckBox.setChecked( |
37 Preferences.getEditor("AutoCompletionReplaceWord")) |
37 Preferences.getEditor("AutoCompletionReplaceWord")) |
38 self.acThresholdSlider.setValue( |
38 self.acThresholdSlider.setValue( |
39 Preferences.getEditor("AutoCompletionThreshold")) |
39 Preferences.getEditor("AutoCompletionThreshold")) |
|
40 self.acScintillaCheckBox.setChecked( |
|
41 Preferences.getEditor("AutoCompletionScintillaOnFail")) |
40 |
42 |
41 def save(self): |
43 def save(self): |
42 """ |
44 """ |
43 Public slot to save the Editor Autocompletion configuration. |
45 Public slot to save the Editor Autocompletion configuration. |
44 """ |
46 """ |
52 "AutoCompletionReplaceWord", |
54 "AutoCompletionReplaceWord", |
53 self.acReplaceWordCheckBox.isChecked()) |
55 self.acReplaceWordCheckBox.isChecked()) |
54 Preferences.setEditor( |
56 Preferences.setEditor( |
55 "AutoCompletionThreshold", |
57 "AutoCompletionThreshold", |
56 self.acThresholdSlider.value()) |
58 self.acThresholdSlider.value()) |
|
59 Preferences.setEditor( |
|
60 "AutoCompletionScintillaOnFail", |
|
61 self.acScintillaCheckBox.isChecked()) |
57 |
62 |
58 |
63 |
59 def create(dlg): |
64 def create(dlg): |
60 """ |
65 """ |
61 Module function to create the configuration page. |
66 Module function to create the configuration page. |