--- a/eric6/E5Gui/E5TextEditSearchWidget.py Sat Sep 21 13:37:58 2019 +0200 +++ b/eric6/E5Gui/E5TextEditSearchWidget.py Sat Sep 21 15:37:43 2019 +0200 @@ -10,8 +10,10 @@ from PyQt5.QtCore import pyqtSlot, Qt, QMetaObject, QSize from PyQt5.QtGui import QPalette, QBrush, QColor, QTextDocument, QTextCursor -from PyQt5.QtWidgets import QWidget, QVBoxLayout, QHBoxLayout, QLabel, \ - QComboBox, QCheckBox, QToolButton, QSizePolicy +from PyQt5.QtWidgets import ( + QWidget, QVBoxLayout, QHBoxLayout, QLabel, QComboBox, QCheckBox, + QToolButton, QSizePolicy +) from E5Gui.E5ComboBox import E5ClearableComboBox @@ -40,10 +42,12 @@ self.__texteditType = "" self.__findBackwards = True - self.__defaultBaseColor = \ + self.__defaultBaseColor = ( self.findtextCombo.lineEdit().palette().color(QPalette.Base) - self.__defaultTextColor = \ + ) + self.__defaultTextColor = ( self.findtextCombo.lineEdit().palette().color(QPalette.Text) + ) self.findHistory = []