eric6/QScintilla/MiniEditor.py

changeset 7628
f904d0eef264
parent 7533
88261c96484b
child 7635
0cdead130a81
diff -r 7f643d41464e -r f904d0eef264 eric6/QScintilla/MiniEditor.py
--- a/eric6/QScintilla/MiniEditor.py	Wed Jun 17 17:12:21 2020 +0200
+++ b/eric6/QScintilla/MiniEditor.py	Wed Jun 17 20:18:54 2020 +0200
@@ -2910,7 +2910,7 @@
         @return name of the selected pygments lexer (string)
         """
         from pygments.lexers import get_all_lexers
-        lexerList = sorted(l[0] for l in get_all_lexers())
+        lexerList = sorted(lex[0] for lex in get_all_lexers())
         try:
             lexerSel = lexerList.index(self.getLanguage())
         except ValueError:

eric ide

mercurial