--- a/src/eric7/QScintilla/Lexers/LexerHTML.py Tue Apr 23 09:29:13 2024 +0200 +++ b/src/eric7/QScintilla/Lexers/LexerHTML.py Tue Apr 23 11:26:04 2024 +0200 @@ -131,7 +131,7 @@ return QsciLexerHTML.keywords(self, kwSet) -def createLexer(variant="", parent=None): # noqa: U100 +def createLexer(variant, parent=None): # noqa: U100 """ Function to instantiate a lexer object.