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