src/eric7/Preferences/ConfigurationPages/EditorStylesPage.py

branch
eric7
changeset 10282
092821fb6f18
parent 10279
e6e270b705c2
child 10303
ee1aadab1215
equal deleted inserted replaced
10281:b3d6208d2f33 10282:092821fb6f18
595 @type bool 595 @type bool
596 @param annotationSample reference to the annotation sample widget 596 @param annotationSample reference to the annotation sample widget
597 @type QLineEdit 597 @type QLineEdit
598 """ 598 """
599 bgColorStr = f"Annotations{annotationType}Background" 599 bgColorStr = f"Annotations{annotationType}Background"
600 fgColorStr =f"Annotations{annotationType}Foreground" 600 fgColorStr = f"Annotations{annotationType}Foreground"
601 601
602 color = QColorDialog.getColor( 602 color = QColorDialog.getColor(
603 self.editorColours[bgColorStr] 603 self.editorColours[bgColorStr]
604 if isBackground 604 if isBackground
605 else self.editorColours[fgColorStr] 605 else self.editorColours[fgColorStr]

eric ide

mercurial