41 Preferences.getEditor("AutoCompletionThreshold")) |
41 Preferences.getEditor("AutoCompletionThreshold")) |
42 self.acTimeoutSpinBox.setValue( |
42 self.acTimeoutSpinBox.setValue( |
43 Preferences.getEditor("AutoCompletionTimeout")) |
43 Preferences.getEditor("AutoCompletionTimeout")) |
44 self.acCacheSizeSpinBox.setValue( |
44 self.acCacheSizeSpinBox.setValue( |
45 Preferences.getEditor("AutoCompletionCacheSize")) |
45 Preferences.getEditor("AutoCompletionCacheSize")) |
|
46 self.acCacheTimeSpinBox.setValue( |
|
47 Preferences.getEditor("AutoCompletionCacheTime")) |
46 |
48 |
47 def save(self): |
49 def save(self): |
48 """ |
50 """ |
49 Public slot to save the Editor Autocompletion configuration. |
51 Public slot to save the Editor Autocompletion configuration. |
50 """ |
52 """ |
68 "AutoCompletionTimeout", |
70 "AutoCompletionTimeout", |
69 self.acTimeoutSpinBox.value()) |
71 self.acTimeoutSpinBox.value()) |
70 Preferences.setEditor( |
72 Preferences.setEditor( |
71 "AutoCompletionCacheSize", |
73 "AutoCompletionCacheSize", |
72 self.acCacheSizeSpinBox.value()) |
74 self.acCacheSizeSpinBox.value()) |
|
75 Preferences.setEditor( |
|
76 "AutoCompletionCacheTime", |
|
77 self.acCacheTimeSpinBox.value()) |
73 |
78 |
74 |
79 |
75 def create(dlg): |
80 def create(dlg): |
76 """ |
81 """ |
77 Module function to create the configuration page. |
82 Module function to create the configuration page. |