src/eric7/Preferences/ConfigurationPages/EditorStylesPage.py

branch
eric7
changeset 10303
ee1aadab1215
parent 10282
092821fb6f18
child 10428
a071d4065202
equal deleted inserted replaced
10302:8cb0dabf852f 10303:ee1aadab1215
608 self.__setSampleStyleSheet( 608 self.__setSampleStyleSheet(
609 annotationSample, 609 annotationSample,
610 self.editorColours[fgColorStr] if isBackground else color, 610 self.editorColours[fgColorStr] if isBackground else color,
611 color if isBackground else self.editorColours[bgColorStr], 611 color if isBackground else self.editorColours[bgColorStr],
612 ) 612 )
613 self.editorColours[ 613 self.editorColours[bgColorStr if isBackground else fgColorStr] = color
614 bgColorStr if isBackground else fgColorStr
615 ] = color
616 614
617 @pyqtSlot() 615 @pyqtSlot()
618 def on_annotationsWarningFgButton_clicked(self): 616 def on_annotationsWarningFgButton_clicked(self):
619 """ 617 """
620 Private slot to set the foreground colour of the warning annotations. 618 Private slot to set the foreground colour of the warning annotations.

eric ide

mercurial