--- a/src/eric7/QScintilla/Lexers/SubstyledLexer.py Fri Nov 04 13:46:31 2022 +0100 +++ b/src/eric7/QScintilla/Lexers/SubstyledLexer.py Fri Nov 04 13:52:26 2022 +0100 @@ -11,9 +11,9 @@ from PyQt6.QtGui import QColor -from .Lexer import Lexer +from eric7 import Preferences -from eric7 import Preferences +from .Lexer import Lexer class SubstyledLexer(Lexer):