--- a/eric6/Preferences/ConfigurationPages/EditorStylesPage.py Tue Sep 24 18:45:33 2019 +0200 +++ b/eric6/Preferences/ConfigurationPages/EditorStylesPage.py Tue Sep 24 18:46:24 2019 +0200 @@ -144,18 +144,18 @@ Preferences.getEditorColour) self.editorColours = {} - self.editorColours["AnnotationsWarningForeground"] = \ - QColor(Preferences.getEditorColour("AnnotationsWarningForeground")) - self.editorColours["AnnotationsWarningBackground"] = \ - QColor(Preferences.getEditorColour("AnnotationsWarningBackground")) - self.editorColours["AnnotationsErrorForeground"] = \ - QColor(Preferences.getEditorColour("AnnotationsErrorForeground")) - self.editorColours["AnnotationsErrorBackground"] = \ - QColor(Preferences.getEditorColour("AnnotationsErrorBackground")) - self.editorColours["AnnotationsStyleForeground"] = \ - QColor(Preferences.getEditorColour("AnnotationsStyleForeground")) - self.editorColours["AnnotationsStyleBackground"] = \ - QColor(Preferences.getEditorColour("AnnotationsStyleBackground")) + self.editorColours["AnnotationsWarningForeground"] = QColor( + Preferences.getEditorColour("AnnotationsWarningForeground")) + self.editorColours["AnnotationsWarningBackground"] = QColor( + Preferences.getEditorColour("AnnotationsWarningBackground")) + self.editorColours["AnnotationsErrorForeground"] = QColor( + Preferences.getEditorColour("AnnotationsErrorForeground")) + self.editorColours["AnnotationsErrorBackground"] = QColor( + Preferences.getEditorColour("AnnotationsErrorBackground")) + self.editorColours["AnnotationsStyleForeground"] = QColor( + Preferences.getEditorColour("AnnotationsStyleForeground")) + self.editorColours["AnnotationsStyleBackground"] = QColor( + Preferences.getEditorColour("AnnotationsStyleBackground")) self.eolCheckBox.setChecked(Preferences.getEditor("ShowEOL")) self.wrapModeComboBox.setCurrentIndex(self.wrapModeComboBox.findData(