diff -r ccbfefe5bc5a -r a4f1b68c0737 eric6/Preferences/HighlightingStylesFile.py --- a/eric6/Preferences/HighlightingStylesFile.py Fri Jan 29 19:30:59 2021 +0100 +++ b/eric6/Preferences/HighlightingStylesFile.py Fri Jan 29 19:31:47 2021 +0100 @@ -89,16 +89,13 @@ return True - def readFile(self, filename: str, lexers: dict) -> list: + def readFile(self, filename: str) -> list: """ Public method to read the highlighting styles data from a highlighting styles JSON file. @param filename name of the highlighting styles file @type str - @param lexers dictionary of lexer objects for which to import the - styles - @type dict of {str: PreferencesLexer} @return list of read lexer style definitions @rtype list of dict """