eric6/Project/LexerAssociationDialog.py

changeset 7628
f904d0eef264
parent 7360
9190402e4505
child 7780
41420f82c0ac
diff -r 7f643d41464e -r f904d0eef264 eric6/Project/LexerAssociationDialog.py
--- a/eric6/Project/LexerAssociationDialog.py	Wed Jun 17 17:12:21 2020 +0200
+++ b/eric6/Project/LexerAssociationDialog.py	Wed Jun 17 20:18:54 2020 +0200
@@ -55,7 +55,7 @@
                 lang)
         
         from pygments.lexers import get_all_lexers
-        pygmentsLexers = [''] + sorted(l[0] for l in get_all_lexers())
+        pygmentsLexers = [''] + sorted(lex[0] for lex in get_all_lexers())
         self.pygmentsLexerCombo.addItems(pygmentsLexers)
         
         # set initial values

eric ide

mercurial