47 def save(self): |
47 def save(self): |
48 """ |
48 """ |
49 Public slot to save the Editor Search configuration. |
49 Public slot to save the Editor Search configuration. |
50 """ |
50 """ |
51 Preferences.setEditor("SearchMarkersEnabled", |
51 Preferences.setEditor("SearchMarkersEnabled", |
52 int(self.searchMarkersEnabledCheckBox.isChecked())) |
52 self.searchMarkersEnabledCheckBox.isChecked()) |
53 Preferences.setEditor("QuickSearchMarkersEnabled", |
53 Preferences.setEditor("QuickSearchMarkersEnabled", |
54 int(self.quicksearchMarkersEnabledCheckBox.isChecked())) |
54 self.quicksearchMarkersEnabledCheckBox.isChecked()) |
55 Preferences.setEditor("MarkOccurrencesEnabled", |
55 Preferences.setEditor("MarkOccurrencesEnabled", |
56 int(self.occurrencesMarkersEnabledCheckBox.isChecked())) |
56 self.occurrencesMarkersEnabledCheckBox.isChecked()) |
57 |
57 |
58 Preferences.setEditor("MarkOccurrencesTimeout", |
58 Preferences.setEditor("MarkOccurrencesTimeout", |
59 self.markOccurrencesTimeoutSpinBox.value()) |
59 self.markOccurrencesTimeoutSpinBox.value()) |
60 |
60 |
61 for key in self.editorColours.keys(): |
61 for key in self.editorColours.keys(): |